Question: Write a Python program to contact a National Park Info API and use the information gathered from that API to create a Word document with
Write a Python program to contact a National Park Info API and use the information gathered from that API to create a Word document with information about five US National Parks. The parks will be selected at random from a list of all the parks. Your Python program will create the entireWord document.
Your program will do the following tasks:
Make a request to this API URL. Note that this API will take about seconds to respond the first time you use it but then will be much faster the second time.and you will receive a response containing a list of national parks. Each item in the list is a dictionary with the park name, and that park's unique parkcode value. This is the start of the response. "Acadia National Park" has the parkcode of "ACAD" and "Arches National Park" has the parkcode "ARCH".
From the response, pick parks at random. Be careful to avoid picking duplicates.
Create a Word document.
For each park:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
