ahmadawais / corona-cli

🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). https://x.com/MrAhmadAwais
https://NodeCLI.com
MIT License
1.85k stars 191 forks source link

Can we use this data in JSON? #58

Closed ayoubkhan558-zz closed 4 years ago

ayoubkhan558-zz commented 4 years ago

Can we use this data in JSON? Can we use this data as API?

mayeaux commented 4 years ago

Same question, would be interesting to use it as a node module as opposed to a cli.

mwherman2000 commented 4 years ago

If you look inside getWorldwide.js, etc., you'll see they use a web service that looks like https://corona.lmao.ninja/all

These web services return JSON.

ahmadawais commented 4 years ago

Feel free.

mwherman2000 commented 4 years ago

p.s. I found the project for the above web service here: https://github.com/NovelCOVID/API

Documentation: https://docs.corona.lmao-xd.wtf/

ayoubkhan558-zz commented 4 years ago

I also found an API 😍 😘

Get Stats by Country Get Stats by Country Get Stats Get Stats Get GLOBAL Stats by DATE Get GLOBAL Stats by DATE Map Stats Map Stats

😋 😎 :) Enjoy