Filmtipset
API client for the Filmtipset API (requires access key)
Installation
Add this line to your application's Gemfile:
gem 'filmtipset'
And then execute:
$ bundle
Or install it yourself as:
$ gem install filmtipset
Setup
Filmtipset.access_key = 'your_access_key'
Usage
# Get 'The Matrix' by id
Filmtipset.movie id: 143
# Get 'Brad Pitt' by id
Filmtipset.person id: 123
# Get 'Pulp Fiction' by IMDB id
Filmtipset.imdb id: '0110912'
# Get a list the movies you’ve seen
Filmtipset.list userkey: <YOUR_USER_KEY>, id: 'seen'
# Get recommendations for 'Kortfilm'
Filmtipset.recommendations userkey: <YOUR_USER_KEY>, id: 2
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request