Skip to content

sush1lemon/go-covid19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Covid19 Go Report Card

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

REST API

LINK

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

Releases

No releases published

Packages

 
 
 

Contributors

Languages