api

Ruby Gem: IMDB

I just released version 0.1.0 of my IMDB gem which allows your app to search IMDB for IMDB movie ID’s and access most data that’s publicly available. Installation sudo gem install imdb This will also install the dependencies Hpricot and HTTParty. Usage In your project, include the gem (and possibly rubygems as well). require 'rubygems' require 'imdb' search = Imdb::Search.new('Star Trek') => #<Imdb::Search:0x18289e8 @query="Star Trek"> puts search.movies[0..3].collect{ |m| [m.