Skip to content

A simple and fast command line app to get covid-19 updates for India.

License

Notifications You must be signed in to change notification settings

aayush-jaiswal/covid-in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple and fast command line app to get covid-19 updates for India.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published