Download a list of weather forecast information from OpenWeather in CSV format
- name
- OpenData_No12_OpenWeather_Weather forecast information acquisition
- tag
- OpenWeather weather forecast information
- Connector used
- REST Connector
- API
- 5 day weather forecast
Obtain data from OpenWeather using the weather forecast information acquisition API
OpenWeather is an online service that provides APIs for various weather data, including current weather and forecast history.
Using OpenWeather, you can access weather data such as temperature, precipitation, precipitation probability, humidity, mood, and air pressure for over 200,000 cities around the world.
This application uses the OpenWeather weather forecast information retrieval API to retrieve weather forecast information data every three hours for five days.
Please use the APIKEY you registered in advance and the postal code of the target area.
OpenWeather has free and paid APIs, so please check before using.
How to install and use it
Script Details
OpenData_No11_OpenWeather_Weather forecast information list acquisition (01 Main)
Call the OpenWeather weather forecast information retrieval API to retrieve a list of weather forecast information.
The results obtained from the API are in JSON (XML) format, but HULFT Square converts them to CSV format before outputting them for easier secondary processing.
Set the APIKEY you registered in advance to the script variable [APIKEY], and the postal code of the target area to the script variable [Postal Code].
The output destination for the downloaded data is set to "/OpenData/OpenData_No12_OpenWeather_WeatherForecastGet" in HULFT Square Storage. If you want to download to a different output destination, change the "Weather Forecast Information CSV Output" file to the desired path.
How to install and use it