Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 1.19 KB

README.md

File metadata and controls

79 lines (52 loc) · 1.19 KB

covid-in

A command line app to get covid-19 update.

Installation

$ git clone https://github.com/aayush-jaiswal/covid-in.git
$ cd covid-in/
$ make

To install it in /usr/local/bin/ and use it globally run the following command

$ sudo make install

Dependencies

libcurl

Install on Ubuntu based distro

$ sudo apt install libcurl4-openssl-dev

Usage

  • Get overall updates

Example 1

  • Get updates of all states in tabular form

Example 2

  • Get updates of a specific state

Example 3

  • Show help
$ covid-in -h
  • Get stats of number of samples tested
$ covid-in -t
  • Show statecodes
$ covid-in --statecodes
  • Get stats multiple states
$ covid-in -s [statecode seperated by comma]

TODOs

  • Add option to show tested data
  • Show delta changes
  • Better output formatting
  • Add option to show data of all states in tabular form

Data Source

https://www.covid19india.org/

Libraries used

json

cxxopts