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.
- Host: GitHub
- URL: https://github.com/preetvadaliya/corona-statistic
- Owner: preetvadaliya
- License: mit
- Created: 2021-03-06T04:27:33.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-06T05:33:23.000Z (over 5 years ago)
- Last Synced: 2025-02-01T09:12:48.252Z (over 1 year ago)
- Topics: python, python3, selenium, webscraping
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
C O R O N A S T A T I S T I C
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()
```