OpenWeather
A BDK Book containing procedures to fetch real-time temperature data via the OpenWeather API.
Last updated
Was this helpful?
A BDK Book containing procedures to fetch real-time temperature data via the OpenWeather API.
Last updated
Was this helpful?
This Book supports the connectivity methods described in this section.
Authenticate to OpenWeather using the specified API key. You can obtain your own API key by visiting OpenWeather's website at .
API Key
The API key to be used for connecting
text
The following table details all the available configuration options for this book.
timeout
Timeout in seconds when making API calls to OpenWeather
number
30
Configuration can be set or retrieved as shown in the following examples:
Before using the Book’s procedures in an automation, you must learn the Book by adding it to your agent. Follow the steps below to get started.
In the left navigation bar, click on Books.
Click on + New Book.
Search for the Book's name. Click on the version tagged with bdk.
Note: If the Book requires connectivity, you will be prompted to provide configuration details.
Click Add to finish adding your Book.
After learning a Book, publish your agent and create a new Playground. Previously created Playgrounds will not be able to recognize the new Book.