Skip to content

Commit 93152c7

Browse files
committed
changed readme, changelog and footer
1 parent 506ee3b commit 93152c7

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## Version 0.7.0
4+
5+
* Added new source to fetch realtime data. ``corona --source=2``
6+
* Code refactored and some bug fixes.
7+
38
## Version 0.6.0
49

510
* Added filter to show top N countries. ``corona --top=20``

lib/helpers.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,12 @@ e.footer = (lastUpdated) => `
174174
175175
⚠️ ${chalk.cyanBright('Stay safe. Stay inside.')}
176176
177-
💻 ${chalk.greenBright('Code')}: https://github.com/sagarkarira/coronavirus-tracker-cli
178-
➡️ ${chalk.greenBright('Twitter')}: https://twitter.com/ekrysis
177+
💻 ${chalk.greenBright('Code')}: ${chalk.blueBright('https://github.com/sagarkarira/coronavirus-tracker-cli')}
178+
➡️ ${chalk.greenBright('Twitter')}: ${chalk.blueBright('https://twitter.com/ekrysis')}
179179
180180
${chalk.magentaBright('Last Updated on:')} ${moment(lastUpdated).utc().format('DD-MMM-YYYY HH:MM')} UTC
181181
182+
${chalk.red.bold.underline('NEW UPDATE (REALTIME STATS)')}: ${chalk.blueBright('curl https://corona-stats.online?source=2')}
182183
`;
183184

184185
e.getTableBorders = minimal => {

readme.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ curl https://corona-stats.online?minimal=true
3737
```sh
3838
curl https://corona-stats.online?top=20
3939
```
40+
### Get realtime stats (NEW)
41+
42+
```sh
43+
curl https://corona-stats.online?source=2
44+
```
4045

4146
### Latest News (Work in Progress)
4247

@@ -74,6 +79,12 @@ corona
7479
corona italy
7580
```
7681

82+
### Get realtime stats (NEW)
83+
84+
```sh
85+
corona --source=2
86+
```
87+
7788
### Top N countries
7889

7990
```sh
@@ -138,14 +149,15 @@ corona --color=false
138149
* [CSSEGISandData](https://github.com/CSSEGISandData/COVID-19) for the data.
139150
* [ExpDev07](https://github.com/ExpDev07/coronavirus-tracker-api) for the API.
140151
* [Zeit Now](https://github.com/zeit/now) for hosting.
152+
* [https://github.com/NovelCOVID/API/](https://github.com/NovelCOVID/API/) for realtime stats API.
141153

142154
## Related Projects
143155

144156
* <https://github.com/NovelCOVID/API>
145157
* <https://github.com/javieraviles/covidAPI>
146158
* <https://github.com/mathdroid/covid-19-api>
147159
* <https://github.com/warengonzaga/covid19-tracker-cli>
148-
* <https://github.com/ahmadawais/corona-cli>
160+
* <https://github.com/ahmadawais/corona-cli>
149161

150162
## License
151163

0 commit comments

Comments
 (0)