Skip to content

Commit b419745

Browse files
authored
Update readme.md
1 parent 48bd188 commit b419745

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

readme.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,18 @@ curl https://corona-stats.online?top=20
4949
# Remove padding and borders from table
5050
curl https://corona-stats.online?minimal=true
5151

52-
5352
# Latest News (Work In Progress)
5453
curl https://corona-stats.online/updates
5554

55+
# Allow emojis (emojis breaks in some terminals)
56+
curl https://corona-stats.online?emojis=true
57+
5658
# Help
5759
curl https://corona-stats.online/help
5860

61+
# Mix up above params (One that I use)
62+
curl 'https://corona-stats.online?top=30&source=2&minimal=true&emojis=true'
63+
5964
```
6065

6166
## API
@@ -66,7 +71,7 @@ Add `?format=json` at the end of any API to get JSON formatted data.
6671
curl https://corona-stats.online?format=json
6772
```
6873

69-
## Local Command (For coloured output)
74+
## Node CLI
7075

7176
Note: NodeJS version 12 recommended. You can download it [here](https://nodejs.org/en/download/).
7277

@@ -81,22 +86,30 @@ corona
8186

8287
# Get source 1 data
8388
corona --source=1
89+
corona -s=1
8490

8591
# Filter by country
8692
corona italy
8793

8894
# Filter top N countries
8995
corona --top=10
96+
corona -t=10
9097

9198
# Minimal Compact Table
9299
corona --minimal
100+
corona -m
93101

94102
# Monocolor / No colors
95103
corona --color=false
104+
corona -c=false
96105

97106
# Show emojis
98107
corona --emojis
108+
corona -e
99109

110+
# Confirmed Cases Graph
111+
corona italy --graph
112+
corona italy -g
100113
```
101114

102115
## ToDos

0 commit comments

Comments
 (0)