Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 32 additions & 33 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ Track The Corona virus from your CLI

### Complete Data

````sh
```sh
curl https://corona-stats.online
````
```

### Filter by Country Stats

````sh
```sh
curl https://corona-stats.online/<country>
````
```

where <country> can be country name or its ISO code.
where \<country\> can be country name or its ISO code.

- US: ```curl https://corona-stats.online/US```
- Italy: ```curl https://corona-stats.online/Italy```
- UK: ```curl https://corona-stats.online/UK``` or ```curl https://corona-stats.online/GB```
* US: `curl https://corona-stats.online/US`
* Italy: `curl https://corona-stats.online/Italy`
* UK: `curl https://corona-stats.online/UK` or `curl https://corona-stats.online/GB`

**Minimal Compact Table**

````sh
```sh
curl https://corona-stats.online?minimal=true
````
```

**Only show top N countries**

Expand All @@ -46,21 +46,21 @@ curl https://corona-stats.online/updates

## API

Add `?format=json` at the end of any API to get json formatted data.
Add `?format=json` at the end of any API to get JSON formatted data.

**Example:**

````sh
```sh
curl https://corona-stats.online?format=json
````
```

## Local Command (For coloured ouput)
## Local Command (For coloured output)

**Install**

````sh
```sh
npm install coronavirus-tracker-cli -g
````
```

**Run command**

Expand All @@ -82,31 +82,31 @@ corona --top=10

**With emojis**

````sh
```sh
corona --emojis
````
```

**Minimal Compact Table**

````sh
```sh
corona --minimal
````
```

**Disable colors**

````sh
```sh
corona --color=false
````
```

### ToDos
## ToDos

* ~~Filter by country to get cases by local states.~~
* ~~Move from npm to curl~~
* ~~Add daily change.~~
* Add growth rate. (linear regression)
* Add latest updates from reddit / twitter.

### Contributors
## Contributors

```
project : curl-corona
Expand All @@ -123,26 +123,25 @@ corona --color=false
1 CyberDracula 0.0%
```

### Other Regional Trackers.
## Other Regional Trackers.

* [Italy](http://opendatadpc.maps.arcgis.com/apps/opsdashboard/index.html#/b0c68bce2cce478eaac82fe38d4138b1)
* [Italy](https://opendatadpc.maps.arcgis.com/apps/opsdashboard/index.html#/b0c68bce2cce478eaac82fe38d4138b1)
* [India](https://www.covid19india.org/)
* [USA](https://www.npr.org/sections/health-shots/2020/03/16/816707182/map-tracking-the-spread-of-the-coronavirus-in-the-u-s)
* [France](https://veille-coronavirus.fr/)
* [Japan](https://covid19japan.com/)


### Thanks to
## Thanks to

* [CSSEGISandData](https://github.com/CSSEGISandData/COVID-19) for the data.
* [ExpDev07](https://github.com/ExpDev07/coronavirus-tracker-api) for the api.
* [ExpDev07](https://github.com/ExpDev07/coronavirus-tracker-api) for the API.
* [Zeit Now](https://github.com/zeit/now) for hosting.

### Related Projects
## Related Projects

* https://github.com/NovelCOVID/API
* https://github.com/javieraviles/covidAPI
* https://github.com/mathdroid/covid-19-api
* <https://github.com/NovelCOVID/API>
* <https://github.com/javieraviles/covidAPI>
* <https://github.com/mathdroid/covid-19-api>

## License

Expand Down