Skip to content

Get CovidCountry

Luke Leigh edited this page Jun 20, 2020 · 1 revision

.SYNOPSIS

Command used to extract data (Country Stats) from the NovelCOVID API (github.com/NovelCOVID/API)

.DESCRIPTION

Command used to extract data (Country Stats) from the NovelCOVID API (github.com/NovelCOVID/API) Returns data of a specific country.

.PARAMETER Country

This is a mandatory field which you can enter manually or using tab to cycle through the options. This field uses the standard ISO Country Codes

.INPUTS

None. You cannot pipe objects to Get-CovidCountry

.OUTPUTS

System.String. Get-CovidCountry returns a string with all of the Covid-19 stats for every the specified country.

.EXAMPLE

PS C:\GitRepos> Get-CovidCountry -Country UK

DeathsPerOneMillion : 18
TodayCases : 2433
CasesPerOneMillion : 288
Deaths : 1228
Critical : 163
Active : 18159
Recovered : 135
Country : UK
TodayDeaths : 209
Cases : 19522

.LINK

https://github.com/BanterBoy/PSCovid19Stats/wiki/Get-CovidCountry

.NOTES

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

Clone this wiki locally