0.0
No commit activity in last 3 years
No release in over 3 years
A gem for getting film metadata from DBPedia
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 5.0
~> 10.0

Runtime

>= 0
 Project Readme

DbpediaFilm

This gem uses is used to get metadata from DBPedia about film using the title. It's not exact, and sometimes DBPedia can have slow response times. If you are using this information on the web, you will want to cache the responses.

Installation

Add this line to your application's Gemfile:

gem 'dbpedia_film'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dbpedia_film

Usage

DbpediaFilm::Metadata::by_title("Alien")
{:director=>"Scott, Ridley", :director_image=>"http://commons.wikimedia.org/wiki/Special:FilePath/Ridley_Scott_by_Gage_Skidmore.jpg", :producer=>"&pizza", :screenplay=>"Dan O'Bannon", :starring=>[], :composer=>"Jerry Goldsmith", :cinematographer=>"Derek Vanlint", :editing=>"&pizza", :studio=>"&pizza", :thumbnail=>"", :dist=>"", :gross=>0.0, :budget=>9.0, :date=>""}

Tests

To run the tests:

rake test