Project

tmdb_rexx

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for TMDB API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.9
~> 1.1
~> 0.10
~> 10
~> 3.3
~> 2.9
~> 1.21

Runtime

 Project Readme

TmdbRexx

Build Status Code Climate Test Coverage

This is TmdbRexx a simple wrapper around the TMDB API v3 written in ruby.

Installation

Add this line to your application's Gemfile:

gem 'tmdb_rexx'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tmdb_rexx

Documentation

http://rdoc.info/github/jasontruluck/tmdb_rexx/master/index

Configuration

Configuration allows for specifying TMDB api information

api_key - required The api key generated by the TMDB api

base_url - The base url used for querying against the TMDB api. Defaults to https://api.themoviedb.org

version - The API version to use. Defaults to 3

include_adult - If you would like to include adult films and tv [Boolean]. Defaults to false

language - The language you would like to have information returned in. Defaults to en

Within an initializer config/initializer/tmdb_rexx.rb

TmdbRexx.configure do |c|
  c.api_key = "some_api_key" # Required for functionality
  c.include_adult = true     # this includes adult films and tv
  c.language = "fr"          # this changes the language to French where supported
end

Development

After checking out the repo, run bundle install to install dependencies. Then, run rake for a baseline test run.

Contributing

Make sure to write test!

  1. Fork it ( https://github.com/[my-github-username]/tmdb_rexx/fork )
  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 a new Pull Request