I don\'t see a lot of information available comparing the weather APIs that are available. What is the difference between OpenWeatherMap and Wunderground. I see that the pai
I made small python script for WorldWeatherOnline historical weather data for my personal project. The result can be saved in pandas dataframe and csv files.
Install the package:
pip install wwo-hist
Import package
from wwo_hist import retrieve_hist_data
import pandas as pd
Example code
frequency=3
start_date = '11-DEC-2018'
end_date = '11-MAR-2019'
api_key = 'YOUR_API_KEY'
location_list = ['singapore','california']
hist_weather_data = retrieve_hist_data(api_key,
location_list,
start_date,
end_date,
frequency,
location_label = False,
export_csv = True,
store_df = True)
You can check it out here.
https://github.com/ekapope/WorldWeatherOnline