This plugin connects to weather server and retrieve weather data in given city.
Project description
Weather plugin
This plugin connects to weather server and retrieves weather information.
Configuration
First you need to configure what type of temperature you need. Either in Celsius (C) of Fahrenheit (F)
Example of configuration.
{
"system": "C",
"city": "profile@traits.public.city"
}
City can ba a path to data or a plain text.
{
"city": "Paris"
}
Input
Input payload is not processed by this plugin.
Output
Example
{
"temperature": 4,
"humidity": 87,
"wind_speed": 15,
"description": "Sunny"
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tracardi-weather-0.6.1.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for tracardi_weather-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09cc8e1e2e439f494fa3beca1070efa4bbb4cd5d8c61072f4df34b5810fad903 |
|
MD5 | 4329556893d9b9110a1a03b51fd9d8ae |
|
BLAKE2b-256 | c897d8d039276f473479b6b27111f706f3d52cd709a38068c4e978e35545de29 |