IMDB Project Home Page

The IMDb API has changed and this no longer works 🙁

I made this simple web page to practice requesting data from an API, having it return some JSON, and then parsing that JSON and outputting it to the page.

I used jQuery to send a call to the IMDb API and bring back a movie’s information. I then took that information and saved it as a Javascript variable. The final result is outputting the information into a nicely styled card with some UI logic (green and red colors depending on the movie rating).

IMDb also gives us access to Rotten Tomatoes ratings for movies so that is data is returned in the same API call.

The working example can be seen here.