Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

GTK graphical interface for the Internet Movie DataBase (IMDB)

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 data
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO
Octocat-spinner-32 gimdb.gemspec
README.rdoc

GIMDB

GTK graphical interface for the Internet Movie DataBase.

Description

gimdb is a program that can browse the Internet Movie DataBase of Amazon. It is write in Ruby programming language and use the graphics library GTK. gimdb download the movies info that you request and save them in a local sqlite3 database.

You can create users and save for each of them the movies to see, movies seen and favourites movies. gimdb can also work in offline mode searching movies in the local database.

Screenshot

gimdb may be useful if you don't know what movie see.

imdb.rb

For your purposes, you can use the IMDB class.

require 'imdb'
require 'pp'

# Get a IMDB object to perform queries
searcher = IMDB.new

# Query the database
results = searcher.get_list()

# Query the database with options
results = searcher.get_list(:release_date => '2007,2010', :user_rating => '7,10')

# Print the results
pp results

# Get more movies with same query
results = searcher.next

Avaiable options are:

  • title

  • release_date

  • user_rating

  • num_votes

  • genres

  • sort

  • start

Requirements

Install

gem install gimdb

Docs

rdoc.info/github/pioz/gimdb

Support

You can use this email address for any questions or help: enrico@megiston.it.

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2010 Enrico Pilotto. See LICENSE for details.

Something went wrong with that request. Please try again.