The purpose of this plugin is to connect 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 (MATRIC) of Fahrenheit (IMPERIAL)
Example of configuration.
{
"system": "METRIC"
}
Payload
Plugin takes a payload in form of:
{
"city": "profile@traits.public.city"
}
Where the value can be a path as dotted notation to city name or a string with city name:
{
"city": "Paris"
}
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.1.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for tracardi_weather-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09b00a80f2b09160aa42c174e6ce8a0c549c8e0d0c5e01dc2123c989cf2c6eef |
|
MD5 | 4f43935bd3372efba20567266ae5d000 |
|
BLAKE2b-256 | 250e8e856deaf46200a50bcddc4544ddfdc7a07ea0e589bda3cda1a30177921c |