50Movie Recommendations

The data provided by external services can give you a jumping-off point to create your own application.

Write a program that displays information about a given movie. Prompt for a search query and display the title, year, rating, running time, and a synopsis, if one exists. Then, if the audience score is above 80%, recommend that the user watch this movie right now. If the score is below 50%, recommend that the user avoid the movie at all costs.

Example Output

 
Enter the name of a movie: Guardians of the Galaxy
 
 
Title: Guardians of the Galaxy
 
Year: 2014
 
Rating: PG-13
 
Running Time: 121 minutes
 
 
Description: From Marvel...
 
 
You should watch this movie right now!

Constraint

Challenges

  • Create a graphical version of the program. Display the movie poster image along with the rating information graphically.

  • Investigate methods to cache the movie data you’ve collected so that you aren’t constantly hitting the external API. Provide a method to expire the cache.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.148.105