Use an API – Application Programming Interface – to retrieve data from via the Internet based on the user’s input. You will be given a function that takes one parameter representing the user’s choice and returns the data you need as a python dictionary. You will then parse the values in that dictionary to retrieve the suggested items and display them to the user in a neatly formatted list.Your program should LOOP until the person chooses to exit (set a sentinel!).Your program should tell the user what category their selection was (movie, book, etc -Your program should display the number of results and display them in a neatly formatted list. Check to see if the user’s entry was not found. If so, do not display a list and instead display an appropriate message indicating the user’s selection was not found. (Hint: The type will be ‘unknown’)
Use an API – Application
-Your program should display the number of results and display them in a neatly formatted list. Check to see if the user’s entry was not found. If so, do not display a list and instead display an appropriate message indicating the user’s selection was not found. (Hint: The type will be ‘unknown’)

Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images









