Create a map of Switzerland and plot the COVID19 data on the map.
- Use the data from daenuprobst. He parses that data from the BAG Twitter feed.
- Show the increase in % by Canton
- Generate a png file.
- Use Twitter API to post the generated PNG on your timeline.
- Configure Twitter API so you can add some static text/hashtag to every tweet.
- Tweet is being posted if there is new data from daenuprobst.
- Use t to create credentials.
TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_CONSUMER_TOKEN_KEY=
TWITTER_CONSUMER_TOKEN_SECRET=
Switch between Development and Production mode with simple switch in "main.js". Production mode to publish the tweet to twitter.
App.isProduction = true;
$ npm i
$ node main.js