Python – Retrieve latest Covid-19 World Data using COVID19Py library
COVID19Py Library retrieves the latest data revolving around the Covid-19 pandemic. This Covid-19 World Dataset is hosted at the John Hopkins University servers.
To install the library, execute below command in your system command line:
pip install COVID19Py
The library provides the following methods:
- getAll(): Retrieve the entire dataset as a JSON
- getLatest(): Get the latest stats of confirmed cases, recoveries and deaths
- getLocations(): Get the locations where Covid-19 cases exist
- getLatestChanges(): Look for any changes since you last retrieved the data
Below example illustrate the above methods:
Data: Enormous data returned in the json form; this screenshot represents just the first few lines of the data.
Latest Data: Latest numbers related to Covid19 (Globally)
Location Data: Enormous location-wise Covid Data will be return in json form.This screenshot represents the first few lines.
Changes since Last Visit: Currently all 0.
My Personal Notes arrow_drop_up
Please Login to comment...