Procedures
Automation procedures in the OpenWeather BDK Book.
Make sure to add the OpenWeather BDK Book to your agent before using these automation procedures.
to get the (current temperature) at a city
Fetch the current temperature for a specified city.
Input Concepts
Concept
Description
Type
Required
Default Value
city
The name of the city. Please refer to ISO 3166 for the state codes or country codes.
noun
Yes
unit
Unit of measurement. standard, metric and imperial units are available. If you do not specify the units, standard units will be applied by default.
noun
No
standard
Output Concepts
Concept
Description
Type
current temperature
The current temperature in the specified units of measurement, or None if an error occurs.
number
Examples
Retrieve the current temperature at London
get the current temperature at London
Retrieve the current temperature at London in Celsius
get the current temperature at Buenos Aires with
the unit is metric
Last updated
Was this helpful?