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). To chat: https://twitter.com/MrAhmadAwais/
https://NodeCLI.com
MIT License
1.85k stars 191 forks source link

Add optional stateName parameter to filter states results #81

Open pkn4645 opened 4 years ago

pkn4645 commented 4 years ago

great project @ahmadawais 👍

I had a need to work with some individual state data and wanted to filter the results to save time. The change as implemented is very simple. I checked and it did not appear that the underlying API supported a state filter so I just did it on the client side.

I also added examples to the readme under the states section.

Hope this is helpful.

Questions or comments welcome.

thanks

pkn4645 commented 4 years ago

thoughts? feedback?

thanks