Sha256: aa75e4d25e51bc065a7c83d0be2771475b9bf145c0e92f2a2e8a7d708e6016a1

Contents?: true

Size: 1015 Bytes

Versions: 1

Compression:

Stored size: 1015 Bytes

Contents

== Welcome to Ruby IMDB

ruby-imdb is IMDB parsing library for Ruby.

== Features

 * Dynamic Caching with MongoDB backend
 * Object Oriented design
 * Fast access to data

== Download

 * [sudo] gem i ruby-imdb
 * http://github.com/yalcin/ruby-imdb
 * git clone git://github.com/yalcin/ruby-imdb.git


== Enable caching

require 'rubygems'
require 'imdb'

IMDB::Configuration.caching = true
IMDB::Configuration.db(:hostname => "localhost", :database => "imdb")

== 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('0120669')
p movie.poster

== Examples

Are Under features directory

== Authors
 * Yalcin ACIKYILDIZ (mailto:yalcin@webliyacelebi.com)


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-imdb-0.7.3 README.md