README

Go-Covid19 Go Report Card

go-covid19 is a Go Package / Rest API for getting covid19 related data from different source

REST API

https://go-covid19.sideprojects.fun/api/v1/

Documentation

https://go-covid19.sideprojects.fun/api/v1/docs/index.html

Installation

Package
go get github.com/jezerdave/go-covid19/covid
Import
import "github.com/jezerdave/go-covid19/covid"
Sample
client := covid.NewClient()
data, err := client.Worldometer.GetCountriesData()
Available Methods

Worldometer
Philippines
WHO

Run on your machine

Clone repo
git clone https://github.com/jezerdave/go-covid19
Run
go run .
Run with ENV
REDIS_HOST=<value> REDIS_PASS=<value> REDIS_PORT=<value> go run .

Data Source

https://www.worldometers.info/coronavirus/
https://www.worldometers.info/coronavirus/country/us/
https://ncovtracker.doh.gov.ph/
https://who.sprinklr.com/

API Status

Worldometer - available
WHO - available
DOH Philippines - not available / maintenance

Expand ▾ Collapse ▴

Documentation

The Go Gopher

There is no documentation for this package.

Source Files