Giter VIP home page Giter VIP logo

spotlite_proxy's Introduction

spotlite-proxy

A lightweight Sinatra app that utilizes spotlite gem to fetch movie information and return it in JSON format

Deploy right now to Heroku

Deploy

How to

Clone this repository

git clone [email protected]:defeed/spotlite-proxy.git

Install the bundle

bundle install

Run the server on localhost's port 3000

bundle exec thin start -p 3000

List of movies ordered by current popularity is available at http://localhost:3000/movies

This endpoint accepts page parameter, which can be in range of 1..40 (10000 titles available, 250 titles at once per page) http://localhost:3000/movies?page=7

You can access several endpoints to get various movie details. All you need is IMDb ID of movie (i.e. 0076759, Star Wars, 1977)

Movie details endpoints

Main details

http://localhost:3000/movies/0076759

Release dates and alternative titles

http://localhost:3000/movies/0076759/release_info

Plot summaries

http://localhost:3000/movies/0076759/plot_summaries

Plot keywords

http://localhost:3000/movies/0076759/keywords

Trivia

http://localhost:3000/movies/0076759/trivia

Taglines

http://localhost:3000/movies/0076759/taglines

Critic reviews (Metacritic excerpts)

http://localhost:3000/movies/0076759/critic_reviews

Still images

http://localhost:3000/movies/0076759/images

Cast

http://localhost:3000/movies/0076759/cast

Crew members

http://localhost:3000/movies/0076759/crew

All credits (cast + crew members)

http://localhost:3000/movies/0076759/credits

You can also access people details endpoint. All you need is IMDb ID of the person (i.e. 0000216, Arnold Schwarzenegger)

Person details endpoint

http://localhost:3000/people/0000216

spotlite_proxy's People

Contributors

defeed avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.