Homework #3 CIS 3120 HOMEWORK 3 APIs, Data frames 1. Select an API of your choice. Make at least 10 requests to this API with different querying values. For example, you could look up the weather...

1 answer below »
Homework #3
CIS 3120 HOMEWORK 3 APIs, Data frames
1. Select an API of your choice. Make at least 10 requests to this API with different
querying values. For example, you could look up the weather information for 10 different
cities or the stock price information for 10 different companies.
On each request the API must return at least 5 pieces of information. E.g. if you are
using a weather API, the API may return the max temperature, min temperature, rainfall
amount, humidity, UV index for each city.
Store the values returned for each request in a pandas data frame. That is, the data
frame would have at least 5 columns (one for each category of data provided by the API)
and at least 10 rows.
Print the description statistics for the data frame.
Export the data frame to a csv file.
Submit your code, csv file, and a one page report explaining how your analysis would be
helpful towards solving a related problem. For example, if you choose to use a weather
API, you should comment about how the weather information obtained would be helpful
to wedding planners, farmers, etc.
Due: May 25th, XXXXXXXXXX:59 PM
Answered 15 days AfterMay 13, 2021

Solution

Rushendra Babu answered on May 17 2021
25 Votes

weather/weather-analysis.docx
Weather Analysis
The program generates random latitude and longitude and gets 10 cities
Then it request openweather api and gets weather report of 10...

Submit New Assignment

Copy and Paste Your Assignment Here