izzatzr / covid19api-go

wrapper for mathdroid's covid19 API written in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Based on https://github.com/mathdroid/covid-19-api

  • 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

About

wrapper for mathdroid's covid19 API written in go

License:MIT License


Languages

Language:Go 100.0%