diwasx / CoronaCLIApp

CLI application to get the worlwide and country specefic details regarding the COVID-19 cases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoronaCLIApp

CLI application to get the worlwide and country specefic details regarding the COVID-19 cases. The Api used for the fetching the data is here.

Getting started

  • Get a api key required from rapidapi

  • Clone the repo and open it in your text editor

  • Add your rapid api and host key to the headers in corona.py

Commands

1. There are 2 commands available.

2. Run corona.py --total from the terminal to get the worldwide data.

3. Run corona.py --get [iso country code] to get the data of particular country.

You can find the ISO country codes here.

Example

* python corona.py --total (displays worldwide information)
* python corona.py --get CHN (displays China's Covid-19 info)

About

CLI application to get the worlwide and country specefic details regarding the COVID-19 cases.


Languages

Language:Python 100.0%