Code Monkey home page Code Monkey logo

nz-covid19-tracker's Introduction

NOTE: As of the end of 2022, this repository has been archived due to Heroku no longer supporting free dynos, as well as NZ returning to normality.

nz-covid19-tracker

nz-covid-tracker is a Twitter bot tweeting updates to both COVID-19 vaccination and cases status in New Zealand. It operates using a couple of simple python scripts and a mongoDB database. The database simply stores the last data and date update on the website to check whether new data has been posted or not.

Tweets

There are a total of 6 different status updates the bot can post, which can be found under src/tweets - 3 cases update tweets and 3 vaccination update tweets. The bot attempts to tweet each of these 1 once a day between 10AM and 8PM in 2 hour intervals. If the data has not been updated the status update will be skipped for the day.

Scraping

A seperate scraping script checks the health.govt.nz website every hour for potential data updates and scrapes the website if there is new data, although the data is only typically updated between 1pm and 2pm.

Info

The bot should be up and running on Twitter @covid19_nz.

nz-covid19-tracker's People

Contributors

ryan-mooore avatar

Stargazers

 avatar

Watchers

 avatar  avatar

nz-covid19-tracker's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.