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

https://github.com/preetvadaliya/corona-statistic

Simple Python programs to obtain real-time statistical data of coronaviruses.
https://github.com/preetvadaliya/corona-statistic

python python3 selenium webscraping

Last synced: about 2 months ago
JSON representation

Simple Python programs to obtain real-time statistical data of coronaviruses.

Awesome Lists containing this project

README

          


C O R O N A    S T A T I S T I C


GitHub Top Language
GitHub Top Language
GitHub Top Language
GitHub Top Language

Simple Python programs to obtain real-time statistical data of coronaviruses.




### How to use?
Download **CoronaStatus.py** file and add into your project.




### How to download selenium web driver?
Download web driver according your Chrome version.
You can download from [Download Link](https://chromedriver.chromium.org/downloads).




## E X A M P L E
```python

from CoronaStatus import CoronaStatus
status = CoronaStatus("your chrome driver path")

```




## M E T H O D S

### getConfirmedInState( )
return total number of confirmed case in state.
```python

status.getConfirmedInState()

```


### getRecoveredInState( )
return total number of confirmed case in state.
```python

status.getRecoveredInState()

```


### getDeathsInState( )
return total number of death in state.
```python

status.getDeathsInState()

```


### getConfirmedInCountry( )
return total number of confirmed case in country.
```python

status.getConfirmedInCountry()

```


### getRecoveredInCountry( )
return total number of confirmed case in country.
```python

status.getRecoveredInCountry()

```


### getDeathsInWorld( )
return total number of death in world.
```python

status.getDeathsInWorld()

```


### getConfirmedInWorld( )
return total number of confirmed case in world.
```python

status.getConfirmedInWorld()

```


### getRecoveredInWorld( )
return total number of confirmed case in world.
```python

status.getRecoveredInWorld()

```


### getDeathsInWorld( )
return total number of death in world.
```python

status.getDeathsInWorld()

```


### getStateName( )
return your state name.
```python

status.getStateName()

```


### getCountryName( )
return your country name.
```python

status.getCountryName()

```