Project

movieman

0.0
No commit activity in last 3 years
No release in over 3 years
Wrapper for sites/APIs that provide information about movies.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Movieman

Movieman is wrapper for sites/APIs that provide information about movies.

Installation

Add this line to your application's Gemfile:

gem 'movieman'

And then execute:

$ bundle

Or install it yourself as:

$ gem install movieman

Services

RottenTomatoes

API Docs for Rotten Tomatoes

Movieman::RottenTomatoes.config do |c|
	c.api_key = "<key here>"
end

movie = Movieman::RottenTomatoes.movie "770672122"
movies = Movieman::RottenTomatoes.search "Matrix"

The Movie Database

API Docs for The Movie Database.

Movieman::Themoviedb.config do |c|
	c.api_key = "<key here>"
end

movie = Movieman::Themoviedb.movie "605"
movies = Movieman::Themoviedb.search "Matrix"

New York Times Movie Reviews

Docs for NY Times API

Movieman::NYTimes_review.config do |c|
	c.api_key = "<key here>"
end

movies = Movieman::NYTimes_review.search "matrix"

The Open Movie Database API

The Open Movie Database API

movies = Movieman::OMDBAPI.search "matrix"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request