Skip to content

Instantly share code, notes, and snippets.

@bridgpal
Forked from sferik/movies_lab.md
Created April 8, 2013 21:12
Show Gist options
  • Save bridgpal/5340560 to your computer and use it in GitHub Desktop.
Save bridgpal/5340560 to your computer and use it in GitHub Desktop.

WDI Lab - April 8, 2013

Movies

You will be creating a movies app using Sinatra and the OMDB API.

Requirements

  • Ability to search for a movie by title
  • Ability to click on a search result to see detailed information about a movie including:
    • Title
    • Year
    • Rating
    • Runtime
    • Genre
    • Plot summary
    • Poster image
    • IMDB rating
    • Director(s)
    • Actors(s)

Make the landing page for movie titles beautiful, and incorporate some of the techniques we went over in class.

Using the OMDB API

Search for movies by title

http://www.omdbapi.com/?s=Star%20Wars

Return movie information by title and year (optional)

http://www.omdbapi.com/?t=True%20Grit&y=2010

Return movie information by imdbID

http://www.omdbapi.com/?i=tt1285016

Bonus

Add Rotten Tomatoes data to the movie page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment