go-covid19

command module
v0.0.0-...-2369477 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 16 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
jhu
who
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL