{"id":17677646,"url":"https://github.com/banterboy/pscovid19stats","last_synced_at":"2025-09-04T13:36:55.216Z","repository":{"id":91119414,"uuid":"250670233","full_name":"BanterBoy/PSCovid19Stats","owner":"BanterBoy","description":"Extracting data from the NovelCOVID API (github.com/NovelCOVID/API)","archived":false,"fork":false,"pushed_at":"2023-03-22T13:53:37.000Z","size":88,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T13:43:54.746Z","etag":null,"topics":["coronavirus","covid-19","extracting-data","functions","module","novelcovid","novelcovid-api","postman","powershell"],"latest_commit_sha":null,"homepage":"https://blog.lukeleigh.com","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BanterBoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-27T23:17:27.000Z","updated_at":"2024-01-25T22:28:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"e604c660-0335-43ad-9294-efd95276eef5","html_url":"https://github.com/BanterBoy/PSCovid19Stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BanterBoy/PSCovid19Stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BanterBoy%2FPSCovid19Stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BanterBoy%2FPSCovid19Stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BanterBoy%2FPSCovid19Stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BanterBoy%2FPSCovid19Stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BanterBoy","download_url":"https://codeload.github.com/BanterBoy/PSCovid19Stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BanterBoy%2FPSCovid19Stats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267638569,"owners_count":24119764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coronavirus","covid-19","extracting-data","functions","module","novelcovid","novelcovid-api","postman","powershell"],"created_at":"2024-10-24T07:29:13.411Z","updated_at":"2025-07-29T06:04:10.986Z","avatar_url":"https://github.com/BanterBoy.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PowerShell Gallery Version](https://img.shields.io/powershellgallery/v/PSCovid19Stats?label=PSCovid19Stats\u0026logo=powershell\u0026style=plastic)](https://www.powershellgallery.com/packages/PSCovid19Stats)\n[![PowerShell Gallery](https://img.shields.io/powershellgallery/dt/PSCovid19Stats?style=plastic)](https://www.powershellgallery.com/packages/PSCovid19Stats)\n\n[![Build Status](https://dev.azure.com/lukeleigh/Module%20Deployment/_apis/build/status/BanterBoy.PSCovid19Stats?branchName=master)](https://dev.azure.com/lukeleigh/Module%20Deployment/_build/latest?definitionId=1\u0026branchName=master)\n\n# PSCovid19Stats\n\n| Name: | README.md |\n|-----|--|\n| About: | Generic details regarding this project. |\n\n![Postman COVID-19 API Resources](https://blog.lukeleigh.com/assets/images/postmanlogo.jpg)\n\nA PowerShell Module that can be used to extract data from the NovelCOVID API (github.com/NovelCOVID/API). The API has been supplied by Postman as part of the ***\"Postman COVID-19 API Resource Center\"***\n\nClick [here](https://covid-19-apis.postman.com/) to view the Postman Resource Centre\n\n#### Quote\n\n```\"During the present novel coronavirus (COVID-19) pandemic, those on the front lines—including health care professionals, researchers, and government experts—need quick, easy access to real-time critical data. This type of information exchange is what APIs do best, and as an API-first company, Postman is committed to providing whatever assistance we can in this area.\"```\n\nThis was inspired by a [blog post](https://www.powershell.co.at/cov-id-19-powershell-prompt/) that popped up in the random click-fest of reading everything about the coronavirus. Perhaps too much time stuck indoors obsessing about what is happening around the world.\n\n## Update\n\nI have updated the module to include Commment Based Help and also Online Help\n\n***Example***\n```\nPS C:\\GitRepos\u003e Get-Help Get-CovidCountryStats\n\nNAME\n    Get-CovidCountryStats\n\nSYNOPSIS\n    Command used to extract data (Country Stats) from the NovelCOVID API (github.com/NovelCOVID/API)\n\nSYNTAX\n    Get-CovidCountryStats -Country \u003cString\u003e [\u003cCommonParameters\u003e]\n\nDESCRIPTION\n    Command used to extract data (Country Stats) from the NovelCOVID API (github.com/NovelCOVID/API)\n    Returns data of a specific country.\n\nRELATED LINKS\n    https://github.com/BanterBoy/PSCovid19Stats/wiki/Get-CovidCountryStats\n\nREMARKS\n    To see the examples, type: \"get-help Get-CovidCountryStats -examples\".\n    For more information, type: \"get-help Get-CovidCountryStats -detailed\".\n    For technical information, type: \"get-help Get-CovidCountryStats -full\".\n    For online help, type: \"get-help Get-CovidCountryStats -online\"\n```\nAlso, this module is now using the standard [ISO Country Codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) which can now be used in tab completion.\n\n![Tab Complete](https://blog.lukeleigh.com/assets/images/PSCiscoMeraki/CountryTabComplete.png)\n\n## Getting Started\n\nIn order to make this more accessible and easy to install, I have uploaded the module to the [PowerShell Gallery](https://www.powershellgallery.com). This will also make it much easier for everyone to update, should any changes be made to the Module.\n\nWith this in mind, you now have two options when it comes to installation.\n\n### 1) Install Module from Gallery\n\nhttps://www.powershellgallery.com/packages/PSCovid19Stats\n\n```\nInstall-Module -Name PSCovid19Stats\nor\nInstall-Module -Name PSCovid19Stats -Scope CurrentUser\n```\n\n### 2) Download\n\nYou can [download](https://github.com/BanterBoy/PSCovid19Stats/archive/master.zip)\nthis repository.\n\n### Import the Module\n\nOnce you've downloaded the repo place the PSCovid19Stats folder in any path in your ``$PSModulePath``. I recommend copying it to either ``C:\\Program Files\\WindowsPowerShell\\Modules`` or ``C:\\Users\\\u003cUsername\u003e\\Documents\\WindowsPowerShell\\Modules``.\n\nOnce it's in one of those paths you can either import it manually by ``Import-Module PSCovid19Stats`` or rely on auto-module loading.\n\n### Once Installed\n\n```\nPS C:\\GitRepos\u003e Get-Command -Module PSCovid19Stats\n\nCommandType     Name                                               Version    Source\n-----------     ----                                               -------    ------\nFunction        Get-CovidCountriesStats                            1.0.2      PSCovid19Stats\nFunction        Get-CovidCountryStats                              1.0.2      PSCovid19Stats\nFunction        Get-CovidHistoricalData                            1.0.2      PSCovid19Stats\nFunction        Get-CovidjhucsseData                               1.0.2      PSCovid19Stats\nFunction        Get-CovidStateStats                                1.0.2      PSCovid19Stats\nFunction        Get-CovidWorldStats                                1.0.2      PSCovid19Stats\nFunction        Show-CountryCodes                                  1.0.2      PSCovid19Stats\n```\n\n![COVID-19 Example](https://blog.lukeleigh.com/assets/images/PSCiscoMeraki/pscovidscrnsht.png)\n\n[License](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanterboy%2Fpscovid19stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanterboy%2Fpscovid19stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanterboy%2Fpscovid19stats/lists"}