Code Monkey home page Code Monkey logo

coronavirus-tracker-cli's Introduction

coronavirus-tracker-cli

Track The Corona virus from your CLI

Screenshot

CURL

Complete Data

curl https://corona-stats.online

Filter by Country Stats

curl https://corona-stats.online/<country>

where can be country name or its ISO code.

  • US: curl https://corona-stats.online/US
  • Italy: curl https://corona-stats.online/Italy
  • UK: curl https://corona-stats.online/UK or curl https://corona-stats.online/GB

Minimal Compact Table

curl https://corona-stats.online?minimal=true

Only show top N countries

curl https://corona-stats.online?top=20

Latest News (Work in Progress)

curl https://corona-stats.online/updates

API

Add ?format=json at the end of any API to get json formatted data.

Example:

curl https://corona-stats.online?format=json

Local Command (For coloured ouput)

Install

npm install coronavirus-tracker-cli -g

Run command

corona

Filter by country

corona italy

Top N countries

corona --top=10

With emojis

corona --emojis

Minimal Compact Table

corona --minimal

Disable colors

corona --color=false

ToDos

  • Filter by country to get cases by local states.
  • Move from npm to curl
  • Add daily change.
  • Add growth rate. (linear regression)
  • Add latest updates from reddit / twitter.

Contributors

 project  : curl-corona
 lines    :     2984
 authors  :
 2617 Sagar Karira              87.7%
  283 Alexandra Parker          9.5%
   29 Lucas Fernandez Nicolau   1.0%
   25 Shelton Koskie            0.8%
   21 Daniel S                  0.7%
    4 Mo'men Tawfik             0.1%
    3 XhmikosR                  0.1%
    1 Greg Myers                0.0%
    1 CyberDracula              0.0%

Other Regional Trackers.

Thanks to

Related Projects

License

WTFPL

coronavirus-tracker-cli's People

Contributors

archcorsair avatar cyberdracula avatar lucasfnicolau avatar mtiifa avatar myersg86 avatar sagarkarira avatar skoskie avatar ssiyad avatar xandris avatar xhmikosr avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.