Skip to content
This repository has been archived by the owner on Apr 13, 2018. It is now read-only.
/ anytom Public archive

Finds ratings for films available on Sky Anytime+ using Rotten Tomatoes' API

Notifications You must be signed in to change notification settings

barryf/anytom

Repository files navigation

Anytom

Anytom is a set of scripts to help you decide which films to watch on Sky Anytime+, a video-on-demand (VOD) service run by Sky in the UK.

The Sky Anytime+ film library is listed on their website in alphabetical order and through the Sky+ box interface, but it's not easy to decide what to watch by just a film's name.

Anytom queries the Rotten Tomatoes API for critics' ratings, running times, year and synopsis and displays the available films in ratings order, helping you sort the wheat from the chaff.

Read the announcement on my blog.

PREREQUISITES

INSTRUCTIONS

  1. Apply for a Rotten Tomatoes API key.
  2. Set an environment variable with your new key, e.g. export ROTTEN_TOMATOES_KEY=YOUR_KEY.
  3. Clone the repo and cd to the folder.
  4. Install the gems: bundle install.
  5. Import the film names from the Sky Anytime+ list: ruby import.rb.
  6. Import the ratings (and other info) from Rotten Tomatoes: ruby ratings.rb.
  7. Fire up the Sinatra app: ruby movies.rb.
  8. Browse to localhost:9393 in your browser.

HEROKU

You can alternatively host this project on Heroku:

git clone git@github.com:barryf/anytom.git
cd anytom/
heroku create --cedar
git push heroku master
heroku addons:add shared-database
heroku config:add ROTTEN_TOMATOES_KEY=YOUR_KEY
heroku run rake import
heroku run rake ratings
heroku open

TODO

  • Mobile friendly - no absolutely/fixed DIVs for the details.

COPYRIGHT

All film data used within this project is copyright (c) Flixster, Inc. Anytime+ is a trademark of BSkyB.

This project is copyright (c) 2011 Barry Frost. Suggestions? Fork the project and submit a pull request.

About

Finds ratings for films available on Sky Anytime+ using Rotten Tomatoes' API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages