Question: PLEASE HELP: write this function in Python my API key = d19e9925dfb05c1ecd1b065c3062aa80 Function name: get_upcoming Parameters: None Returns: the next 10 upcoming movies titles (list

PLEASE HELP: write this function in Python

my API key = d19e9925dfb05c1ecd1b065c3062aa80

PLEASE HELP: write this function in Python my API key = d19e9925dfb05c1ecd1b065c3062aa80

Function name: get_upcoming Parameters: None Returns: the next 10 upcoming movies titles

(list of strings) Description: Write a function that uses an API call

Function name: get_upcoming Parameters: None Returns: the next 10 upcoming movies titles (list of strings) Description: Write a function that uses an API call and returns a list of the next ten upcoming movie titles (strings) that come first alphabetically. Only consider the upcoming movies that are listed on page 1 Hint: First, find the movie titles from page 1 and add them to a list. Sort this list. Then take the first ten movies titles from this list. Authors: John Wood and Caroline Kish CS1301 HOMEWORKIINTRe Te APIs Test Case: >>> test - get_upcoming) >>> print(test) [ 'A Bad Moms Christmas, 'American Assassin', 'Atomic Blonde', Battle of the Sexes', 'Flatliners, Happy Death Day', Jigsaw', Justice League', 'My Little Pony: The Movie', Only the Brave'] Function name: get_upcoming Parameters: None Returns: the next 10 upcoming movies titles (list of strings) Description: Write a function that uses an API call and returns a list of the next ten upcoming movie titles (strings) that come first alphabetically. Only consider the upcoming movies that are listed on page 1 Hint: First, find the movie titles from page 1 and add them to a list. Sort this list. Then take the first ten movies titles from this list. Authors: John Wood and Caroline Kish CS1301 HOMEWORKIINTRe Te APIs Test Case: >>> test - get_upcoming) >>> print(test) [ 'A Bad Moms Christmas, 'American Assassin', 'Atomic Blonde', Battle of the Sexes', 'Flatliners, Happy Death Day', Jigsaw', Justice League', 'My Little Pony: The Movie', Only the Brave']

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!