You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
64
71
65
72
#### Country Name
66
73
67
74
```bash
75
+
# example usage
68
76
curl https://covid19tracker.xyz/philippines
69
77
```
70
78
71
79
#### Country ISO 3166-1 Code
72
80
73
81
```bash
82
+
# /ph or /phl is ISO 3166 code of the Philippines
74
83
curl https://covid19tracker.xyz/ph
75
84
```
76
85
77
86
#### Country with History Chart
78
-
```/history/<country>/``` or append with ```<cases or deaths>```
79
-
80
87
81
88
```bash
89
+
# shows result with history chart
82
90
curl https://covid19tracker.xyz/history/ph
83
91
```
84
92
85
93
```bash
94
+
# shows by default a history chart
86
95
curl https://covid19tracker.xyz/history/ph/cases
87
96
```
88
97
89
98
```bash
99
+
# shows result with history chart
90
100
curl https://covid19tracker.xyz/history/ph/deaths
91
101
```
92
102
103
+
## Advance Usage
104
+
105
+
### Check Update Automagically
106
+
107
+
```bash
108
+
# check update every 10 seconds (where -n 10 is the interval)
109
+
watch -n 10 curl https://covid19tracker.xyz
110
+
```
111
+
112
+
### Create a Shortcut Command
113
+
114
+
```bash
115
+
# set a desired alias for the command (replace endcov with your desired alias)
116
+
# this will give you a global update
117
+
# alias <your alias>="curl https://covid19tracker.xyz"
alias endcovPH="curl https://covid19tracker.xyz/philippines"
125
+
```
126
+
93
127
## Official Blog
94
128
95
-
Many people asking me how to properly use my tracker. Here's the blog on [How to Track Coronavirus on Command Line](https://warengonza.ga/covid19-tracker-cli).
129
+
Many people asking me how to properly use my tracker. Here's the blog on [How to Track Coronavirus on Command Line](https://warengonza.ga/covid19-tracker-cli). If you have comments or suggestions please leave it on the comment section of the blog.
96
130
97
131
## Screenshots
98
132
@@ -115,7 +149,7 @@ Working on it...
115
149
116
150
## Contributing
117
151
118
-
Contributions are welcome, create a pull request to this repo and I will review your code.
152
+
Contributions are welcome, create a pull request to this repo and I will review your code. Please consider to submit your pull request to the ```dev``` branch. Thank you!
119
153
120
154
## Issues
121
155
@@ -161,10 +195,18 @@ COVID-19 Tracker CLI is licensed under MIT - <https://opensource.org/licenses/MI
161
195
162
196
* API from [NovelCOVID API](https://github.com/NovelCOVID/API) which based on [WorldMeter](https://www.worldometers.info/coronavirus)
163
197
198
+
* Data from [CSSE at Johns Hopkins University](https://github.com/CSSEGISandData)
*[WiFi Passview](https://github.com/warengonzaga/wifi-passview) is an open-source batch script-based program that can recover your WiFi Password easily in seconds.
207
+
208
+
*[WRN Cleaner](https://github.com/warengonzaga/wrn-cleaner) is an all in one batch script based native PC maintenance and cleaner for Windows.
0 commit comments