File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,19 @@ https://corona-stats.online/UK
239239
240240---------------------------------------------------------------------------------
241241
242+ # State wise api (Only for US as of now)
243+
244+ ## Format:
245+ https://corona-stats.online/states/[countryCode]
246+ https://corona-stats.online/states/[countryName]
247+
248+ ## Example: From source 1
249+ https://corona-stats.online/us
250+ https://corona-stats.online/USA?format=json
251+ https://corona-stats.online/USA?minimal=true
252+
253+ ---------------------------------------------------------------------------------
254+
242255# Minimal Mode - remove the borders and padding from table
243256
244257## Example:
Original file line number Diff line number Diff line change @@ -38,11 +38,15 @@ curl https://corona-stats.online?source=2
3838
3939# Filter by country /countryCode or /countryName
4040
41- curl https://corona-stats.online/US
41+ curl https://corona-stats.online/US
4242curl https://corona-stats.online/italy
4343curl https://corona-stats.online/uk? source=2
4444curl https://corona-stats.online/gb? source=1
4545
46+ # State wise stats of country (Only for US as of now)
47+
48+ curl https://corona-stats.online/US
49+
4650# Only show top N countries
4751curl https://corona-stats.online? top=20
4852
@@ -91,6 +95,10 @@ corona -s=1
9195# Filter by country
9296corona italy
9397
98+ # state wise stats (only for US as of now)
99+ corona --states=US
100+ corona --st=us
101+
94102# Filter top N countries
95103corona --top=10
96104corona -t=10
You can’t perform that action at this time.
0 commit comments