An open API service indexing awesome lists of open source software.

https://github.com/peterhellberg/filmtipset

API client for the Filmtipset API (requires access key)
https://github.com/peterhellberg/filmtipset

Last synced: 7 months ago
JSON representation

API client for the Filmtipset API (requires access key)

Awesome Lists containing this project

README

          

# 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

```ruby
Filmtipset.access_key = 'your_access_key'
```

## Usage

```ruby
# 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: , id: 'seen'

# Get recommendations for 'Kortfilm'
Filmtipset.recommendations userkey: , id: 2
```

## 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