Welcome to Ruby IMDB-SCAN

Features

  • Object Oriented design
  • Fast access to data

Download

Usage

require 'rubygems'
require 'imdb'

s = IMDB::Search.new
s.movie("fear and loathing in las vegas").each do
  |result|
  movie = IMDB::Movie.new(result.id)
  p movie.title
  movie.cast.each do
    |cast|
    p "#{cast.name} as #{cast.char}"
  end
  p movie.poster
end

movie = IMDB::Movie.new(416320)
p movie.title => "Match Point"
p movie.cast.length => 37
p movie.cast.first.name => "Jonathan Rhys Meyers"
p movie.cast.first.char => "Chris Wilton"
p movie.cast.first.person.filmography.length => 82
p movie.director  => "Woody Allen"
p movie.director_person.filmography.length   =>  399   (this are all Movies)

Authors

This library is released under the terms of the GNU/GPL.