File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,18 @@ curl https://corona-stats.online?top=20
4949# Remove padding and borders from table
5050curl https://corona-stats.online? minimal=true
5151
52-
5352# Latest News (Work In Progress)
5453curl 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
5759curl 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.
6671curl https://corona-stats.online? format=json
6772```
6873
69- ## Local Command (For coloured output)
74+ ## Node CLI
7075
7176Note: 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
8388corona --source=1
89+ corona -s=1
8490
8591# Filter by country
8692corona italy
8793
8894# Filter top N countries
8995corona --top=10
96+ corona -t=10
9097
9198# Minimal Compact Table
9299corona --minimal
100+ corona -m
93101
94102# Monocolor / No colors
95103corona --color=false
104+ corona -c=false
96105
97106# Show emojis
98107corona --emojis
108+ corona -e
99109
110+ # Confirmed Cases Graph
111+ corona italy --graph
112+ corona italy -g
100113```
101114
102115## ToDos
You can’t perform that action at this time.
0 commit comments