OpenWeather

A BDK Book containing procedures to fetch real-time temperature data via the OpenWeather API.

Prerequisites

Learning the OpenWeather Book (BDK)

1

In the left navigation bar, click on Books.

2

Add a Book

In the Books page, click on + New Book.

3

Search for the Book

Search for the Book's name. Click on the version tagged with bdk.

You will be prompted to provide the connectivity details if configuration is required.

4

Finalize

Click Add to finish adding your Book.

Connectivity

This Book supports the connectivity methods described in this section.

Connect using API Key

Authenticate to OpenWeather using the specified API key. You can obtain your own API key by visiting OpenWeather's website at https://openweathermap.org/appid.

Label
Description
Type

API Key

The API key to be used for connecting

text

Configuration

The following table details all the available configuration options for this book.

Concept
Description
Type
Default Value

timeout

Timeout in seconds when making API calls to OpenWeather

number

30

Configuration can be set or retrieved as shown in the following examples:

the department's Open Weather's timeout is 30

Last updated

Was this helpful?