-
Notifications
You must be signed in to change notification settings - Fork 0
Get CovidWorld
Command used to extract data (Global Stats) from the NovelCOVID API (github.com/NovelCOVID/API).
This command can be used to extract data (Global Stats) from the NovelCOVID API (github.com/NovelCOVID/API). It will extract the global statistics and includes: cases, deaths, recovered, time last updated, and active cases. This data is updated every 10 minutes.
None. You cannot pipe objects to Get-CovidWorld
System.String. Get-CovidWorld returns a string with all of the stats for every country affected with Covid-19.
Get-CovidWorld
deathsPerOneMillion : 57.3 activePerOneMillion : 451.07 oneDeathPerPeople : 0 deaths : 446666 oneTestPerPeople : 0 critical : 54576 oneCasePerPeople : 0 criticalPerOneMillion : 7.04 active : 3498202 recovered : 4341839 tests : 117370255 casesPerOneMillion : 1063 updated : 1592390360372 todayRecovered : 39052 recoveredPerOneMillion : 559.85 testsPerOneMillion : 15134.07 todayCases : 35483 todayDeaths : 1478 population : 7755366723 affectedCountries : 215 cases : 8286707
Get-CovidWorld -yesterday
deathsPerOneMillion : 57.3 activePerOneMillion : 451.14 oneDeathPerPeople : 0 deaths : 446667 oneTestPerPeople : 0 critical : 54576 oneCasePerPeople : 0 criticalPerOneMillion : 7.04 active : 3498778 recovered : 4341848 tests : 117386313 casesPerOneMillion : 1063 updated : 1592390960163 todayRecovered : 39061 recoveredPerOneMillion : 559.85 testsPerOneMillion : 15136.14 todayCases : 36069 todayDeaths : 1479 population : 7755366723 affectedCountries : 215 cases : 8287293
Online version: https://github.com/BanterBoy/PSCovid19Stats/wiki/Get-CovidWorld
Author: Luke Leigh
Website: https://blog.lukeleigh.com
LinkedIn: https://www.linkedin.com/in/lukeleigh
GitHub: https://github.com/BanterBoy
GitHubGist: https://gist.github.com/BanterBoy
More information can be found on my blog