Code Monkey home page Code Monkey logo

coronavirus-tracker-cli's Introduction

coronavirus-tracker-cli Build Status

Track The Corona virus from your CLI

Screenshot

Preview

CURL

Complete Data

curl https://corona-stats.online

Filter by Country Stats

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

where <country> can be a 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

Get realtime stats (NEW)

curl https://corona-stats.online?source=2

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 output)

Note: NodeJS version 12 recommended. You can download it here.

Install

npm install coronavirus-tracker-cli -g

Run command

corona

Filter by country

corona italy

Get realtime stats (NEW)

corona --source=2

Top N countries

corona --top=10

With emojis

corona --emojis

Set 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    :     3991
 authors  :
  3342 Sagar Karira             83.7%
  356 XhmikosR                  8.9%
  232 Alexandra Parker          5.8%
   26 Lucas Fernandez Nicolau   0.7%
   13 Daniel S                  0.3%
   10 Shelton Koskie            0.3%
    5 Sabu Siyad                0.1%
    4 Mo'men Tawfik             0.1%
    2 Steven                    0.1%
    1 Greg Myers                0.0%

Other Regional Trackers

Data Sources

Related Projects

Hosting

License

WTFPL

coronavirus-tracker-cli's People

Contributors

sagarkarira avatar xhmikosr avatar mtiifa avatar skoskie avatar xandris avatar ssiyad avatar stevenblack avatar cyberdracula avatar archcorsair avatar divyanshu013 avatar myersg86 avatar lucasfnicolau avatar styfle avatar

Watchers

James Cloos 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.