No description
Find a file
2021-09-02 21:29:29 +12:00
cmd/nzcovidbot Add support for multiple webhooks 2021-09-02 14:56:36 +12:00
internal/nzcovidbot Skip header row 2021-09-02 21:29:29 +12:00
.env.example Add support for multiple webhooks 2021-09-02 14:56:36 +12:00
.gitignore Pulls from git and posts to discord 2021-09-01 21:22:09 +12:00
go.mod Add slack webhook integration 2021-09-01 23:20:47 +12:00
go.sum Add slack webhook integration 2021-09-01 23:20:47 +12:00
LICENSE Initial commit 2021-09-01 17:37:22 +12:00
README.md Update README.md, Add comments 2021-09-02 11:08:26 +12:00

NZCovidBot

Pull data from Github and parse new locations and fire them off to any configured endpoints

About

After the twitterbot @nzcovidlocs shut down, I decided to try a different approach, instead of scraping MoH's website, lets parse the raw data! https://github.com/minhealthnz/nz-covid-data/tree/main/locations-of-interest/august-2021

Config

Copy .env.example to .env and fill in the blanks.

Run locally

    go run cmd/nzcovidbot/*.go

Build

    go build -o nzcovidbot cmd/nzcovidbot/*.go
    ./nzcovidbot