Skip to main content

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)

Uploaded Source

Built Distribution

tracardi_weather-0.1.1-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page