Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sanogotech/covidinformation

Python Script to get information regarding the novel corona virus (Covid19) #provided by Johns Hopkins university and worldometers.info
https://github.com/sanogotech/covidinformation

corona covid covid-2019 covid-api covid-virus covid19 covid19-data python script virus

Last synced: 3 days ago
JSON representation

Python Script to get information regarding the novel corona virus (Covid19) #provided by Johns Hopkins university and worldometers.info

Awesome Lists containing this project

README

        

# Information About Covid19 . GOD Bless You !")

## Akwaba Abidjan Python

- "Python Script to get information regarding the novel corona virus "

https://www.linkedin.com/in/souleymanesanogo/

## Getting Started

https://pypi.org/project/covid/

** Python SDK to get information regarding the novel corona virus provided by Johns Hopkins university and worldometers.info.
** +180 (Countries)

### Prerequisites

- Python 3.x (3.6+)

## Pip install

```
pip install covid

pip install pandas

pip install openpyxl

```

## Code

```python

def getStatusByCountryName(countryName):

country_cases = covid.get_status_by_country_name(countryName)
print("Covid19 Status :" , countryName, country_cases)

```

## Run

```
python covidScript.py

```

## Result

```
* 2020-03-31
```
![Covid19 : Cote d'Ivoire ](https://github.com/sanogotech/covidinformation/blob/master/docs/screenshot/alldataCovid2020-03-31xls.jpg)

```
* 2020-03-31
```
![Covid19 : Cote d'Ivoire ](https://github.com/sanogotech/covidinformation/blob/master/docs/screenshot/alldataCovid2020-03-31.jpg)


```
* 2020-03-29
```

![Covid19 : Cote d'Ivoire ](https://github.com/sanogotech/covidinformation/blob/master/docs/screenshot/covid19Infos2020-03-29.jpg)