Skip to content

pione30/weather2mackerel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

weather2mackerel

Get weather data from OpenWeatherMap and send them to Mackerel.

Requirements

Export your OpenWeatherMap API key, city ID and Mackerel API key as below:

#!/bin/bash

export WEATHER_API_KEY='xxxxxxx'
export WEATHER_CITY_ID='0000000'
export MACKEREL_API_KEY='xxxxxx'

You might also need to install 'requests':

pip3 install requests

Usage

python3 weather2mackerel.py

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages