HarshCasper / HarshCasper/Rotten-Scripts

[script request]: Retrieve Covid-19 statistics country wise using CLI and covid19-stats npm module

Open
#1,317 4 comments 0 reactions 0 assignees View on GitHub
Assigned enhancement Javascript Up-For-Grab
Dominant language
Python
Stars
1.5k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues.

### Describe the script

The script provides live Covid-19 statistics of a country by using "covid19-stats", an NPM module to retrieve worldometer's live Covid-19 stats. The module uses web scraping to obtain real time access to world wide statistical information. Using this script, you can provide the country name as input and get a JsonArray containing latest statistics of the desired country (as listed in worldometers) such as: country, totalCases, newCases, totalDeaths and newDeaths.

### Language

JavaScript

### Is the feature request related to a problem? Please Specify.

_No response_

### Describe the solution you'd like.

_No response_

### Anything else?

### Demo

![IMG_20220306_010158](https://user-images.githubusercontent.com/80174214/156897576-32476f6e-d801-4b1b-b60f-2b989a0f7bf1.jpg)
![IMG_20220306_010249](https://user-images.githubusercontent.com/80174214/156897578-be6b9831-a951-4399-9567-bdc114ee16e4.jpg)
![IMG_20220306_010228](https://user-images.githubusercontent.com/80174214/156897582-24585df9-229a-4725-b882-edcf52e69e16.jpg)

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.