GetCovidData
You can use this API to access basic Covid Data with simple commands.
This package makes it easy for you to get Covid Data. You can use it in the backend to get covid data and display it on your website or use this data in your python scripts!
Installation
This API can be installed by using pip in the following way:
pip install GetCovidData
Usage:
Here is how to use this package (for more details about syntax and functions you can take a look at the examples.py file)
| Function | Params: | What it does! |
|---|---|---|
| get_covid_info () | display (True/False), default=True | Return a JSON object with the latest info of Covid like "Active cases". If diplay=True it will also print the covid info. |
| get_covid_by_continent () | None | Returns a pandas dataframe containing the Covid Info in all continents! |
| get_covid_by_continentJSON() | None | Retuens a JSON object with Covid Situation in all continents |
| get_covid_all_countries() | None | Returns a pandas DataFrame containing Covid Info in all countries |
| get_covid_all_countriesJSON() | None | Retuens a JSON object with Covid Info in all countries |
| get_covid_in_countries() | *args countries(countries to get covid data of), json= False | Return a pandas dataframe containing covid info in given countries. You can pass as many countries as you want. If json=True it will return a JSON object instead |
Example of USE
Output
For more information on how to use this package refer to the eamples.py file! You can alse get details of each function by using this code snippet
Future Plan
In future we plan to add more functionality to the API giving you access to more data.
Metadata
Release files for GetCovidData 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| GetCovidData-1.1.2.tar.gz | 17.2 kB | Without provenance | Details for GetCovidData-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| GetCovidData-1.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for GetCovidData-1.1.2-py2.py3-none-any.whl |
Total release size: 33.6 kB
Release files / GetCovidData-1.1.2.tar.gz
| Download URL | GetCovidData-1.1.2.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
180225fe58d7edad5415b9f40f9379f9f5904423f63629374b2581bd907eb97f
|
|
BLAKE2b-256 checksum How to use checksums |
7bbab110c004526396d06f78ece2585e4dd8f6512592d909b60401602d719f39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / GetCovidData-1.1.2-py2.py3-none-any.whl
| Download URL | GetCovidData-1.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8189a2354d87679fb57eff1346347b0a49e9d7f45b1f77eee28301e994f65df6
|
|
BLAKE2b-256 checksum How to use checksums |
938f40b991b726e5ce2f29c290fc6a5aff72e5f85fbce8bee4317bd50611fa09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for GetCovidData 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.