Skip to content

Commit 2469de6

Browse files
author
Waren Gonzaga
committed
Modify Readme
1 parent 125ce13 commit 2469de6

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,35 @@ This simple application offers you the following features...
3838

3939
_More features coming soon..._
4040

41-
## Usage
41+
## Basic Usage
42+
43+
### Global Tracking
4244

4345
To track COVID-19 cases on CLI globally, all you need to do is to use CURL or WGET command.
4446

47+
#### CURL
48+
4549
```bash
4650
curl https://covid19tracker.xyz
4751
```
4852

49-
or
53+
#### WGET
5054

5155
```bash
5256
wget -i https://covid19tracker.xyz && cat index.html
5357
```
5458

55-
To track COVID-19 cases on CLI by country, all you need to do is to add country name or code after ```/```.
59+
### Country Tracking
60+
61+
To track COVID-19 cases on CLI by country, all you need to do is to append the URL with the country name or country [ISO 3166-1](https://warengonza.ga/iso-3166-1-codes) code.
62+
63+
#### Country Name
5664

5765
```bash
5866
curl https://covid19tracker.xyz/philippines
5967
```
6068

61-
or
69+
#### Country ISO 3166-1 Code
6270

6371
```bash
6472
curl https://covid19tracker.xyz/ph

0 commit comments

Comments
 (0)