/covid19api-go

wrapper for mathdroid's covid19 API written in go

Primary LanguageGoMIT LicenseMIT

  • How to add

    $ go get https://github.com/izzatzr/covid19api-go

  • Example code


import (
	"fmt"

	covid19 "github.com/izzatzr/covid19api-go"
)

func main() {
	myapp := covid19.New()
	resp := myapp.ByCountrySummary("usa")
	fmt.Println(resp)
}

TODO

  • add json prettier as optional return