Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gabrielmbmb/govid19
- Owner: gabrielmbmb
- License: mit
- Created: 2020-04-07T13:00:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-07T19:48:02.000Z (almost 5 years ago)
- Last Synced: 2024-12-13T19:09:33.752Z (25 days ago)
- Topics: covid19, go, scraper, worldometer
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 mainimport "github.com/gabrielmbmb/govid19"
func main() {
countries := govid19.Scrape()
err := govid19.WriteToCSV(countries)
if err != nil {
panic(err)
}
}
```