The OpenWeather Data connector provides historical, current, and forecasted weather data via light-speed APIs.
Requirements
It requieres an API Key, you can get it from here.
Setting up Data Connectors
Before working with Data Connectors in Graphics you must set it up. Learn how to set up your Data Connector by clicking here.
Adding the Data Connector to the Graphics Editor
First, you need to add a Data Connector to your tree (1) and then click on Connect (2).
From the External Source panel choose OpenWeather (if it's not listed contact your designated Customer Success Manager).
Datasets / Tables
Complete the dataset settings by selecting a table. Each table has its own schema and represents different kinds of information. The tables supported are:
- Current Weather in Multiple Cities: Access current weather data for any location on Earth including over 200,000 cities. The data is frequently updated based on the global and local weather models, satellites, radars, and a vast network of weather stations.
-
One Call - Current and forecast weather data: The One Call API provides the following weather data for any geographical coordinates:
- Minute forecast for 1 hour
- Hourly forecast for 48 hours
- Daily forecast for 7 days
- Historical data for 5 previous days
OpenWeather example graphics
With the data now set up, you can start creating your tree by using building blocks, binding content, and formatting the Graphics. In this example, we use the information from the OpenWeather API to show up to 5 cities.
Watch the following video where we build an example of a weather forecast: