Project

imdb_api

0.0
No commit activity in last 3 years
No release in over 3 years
utilize imdbapi.com to retrive movie info
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.0.0
~> 1.5.2
>= 0

Runtime

>= 1.5.3
 Project Readme

Omdb API

OMDB search funtionality through http://omdbapi.com

Why? You may ask. Isn't there already an OMDB gem? Well this was an project I built in pure self education. I wanted to understand how to access an remote api with Ruby. So now this exists.

Install

gem "omdb_api", :git => "git://github.com/rossnelson/omdb_api.git"

Usage

search = Omdb::Search.new(:title => "Back to the Future", :year => "1985")
=> #<Omdb::Search:0x000001029c6f78 @query={:title=>"Back to the Future", :year=>"1985"}>
search.movie
=> #<Omdb::Movie:0x000001029a24e8 @title="Back to the Future", @year="1985", @rated="PG", @rele...
search.movie.title
=> "Back to the Future"

list of available movie attributes

:title,
:year,
:rated,
:released,
:genre,
:director,
:writer,
:actors,
:plot,
:poster,
:runtime,
:rating,
:votes,
:id,
:response

Copyright

Copyright (c) 2011 rossnelson. See LICENSE.txt for further details.