Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielmbmb/govid19

A very simple scraper of Worldometer COVID-19 data made with Go.
https://github.com/gabrielmbmb/govid19

covid19 go scraper worldometer

Last synced: 7 days ago
JSON representation

A very simple scraper of Worldometer COVID-19 data made with Go.

Awesome Lists containing this project

README

        

# govid19 - Worldometer COVID-19 scraper

![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/gabrielmbmb/govid19)

**govid19** is a very simple scraper of [Worldometer COVID-19](https://www.worldometers.info/coronavirus/) developed with Go.
This is my very first Go package. Since the start of the isolation, I've been quite bored so I decided to learn Go... *sigh*
As you will see, the package is not very big because its main purpose was to learn how to structure a Go package

## Usage

```go
package main

import "github.com/gabrielmbmb/govid19"

func main() {
countries := govid19.Scrape()
err := govid19.WriteToCSV(countries)
if err != nil {
panic(err)
}
}
```