Build a python script to parse a CSV file with dates and locations, and call an API to return historical weather data
Budget: $10 – $30 USD
I would like to build a python script that accepts a CSV file as an input, and outputs the weather report for the specified time and place.
I have attached an example of the CSV file I would want to parse. These are the requirements:
1. Parse the file and look for the last row to find a TIME and PLACE. Specifically, we need a timestamp and the latitude/longitude coordinates for a specific point.
2. Using the TIME and PLACE, call on a weather API to return a "weather report". From the weather report, I need to know simple things like how cloudy it was, and the temperature.
3. This should be an executable script from the command line so that I can run `python get_weather.py .` where `.` is the current directory containing the CSV file.
I have attached an example of the CSV file I would want to parse. These are the requirements:
1. Parse the file and look for the last row to find a TIME and PLACE. Specifically, we need a timestamp and the latitude/longitude coordinates for a specific point.
2. Using the TIME and PLACE, call on a weather API to return a "weather report". From the weather report, I need to know simple things like how cloudy it was, and the temperature.
3. This should be an executable script from the command line so that I can run `python get_weather.py .` where `.` is the current directory containing the CSV file.