Get a Weather API Key
OpenWeatherMap’s free APIs are integrated with Galaxy Watch Designer (GWD) and allow you to display weather data from around the world. If you want to use weather APIs from another source in your watch design, you cannot create your design using GWD.
To use the weather components provided by GWD to display weather conditions, you must create an account with OpenWeather and then copy your API key to GWD. If you want to use additional OpenWeatherMap APIs not integrated with GWD, you must use Tizen Studio. If you want to use more than the free APIs, you must subscribe to an OpenWeather paid plan.
Here’s how to get access to weather information:
Once you get confirmation that your account is active, log in.
After you log in to your OpenWeather account, click the API keys tab and copy your API key.
From Galaxy Watch Designer, click Edit > Preferences to open the Preferences window.
Click on APIs and paste in your API key.Tip :
Click on the icon for more information about each of the fields to determine how you want to configure the Auto refresh and Current location settings.
The Current location setting is only used by Galaxy Watch Designer. When the City data property of a weather component is set to Current City, during development, the location used for weather information is based on this Current location (in the Preview and Run windows). When your watch face is installed on a watch, the location used for weather information is the watch’s physical location.
Click OK.Note :
The .gwd project file does not contain the OpenWeatherMap API key. If you share your project file, weather data will not be displayed correctly unless the person with whom you shared the file has also configured an OpenWeatherMap API key.