This PowerShell module provides a series of cmdlets for interacting with the PUBG API. Invoke-RestMethod is used for all API calls.
Requires PowerShell 3.0 or above (this is when Invoke-RestMethod
was introduced).
You can install the module from PowerShell Gallery Find-Module pspubg | Install-Module
and then run:
Import-Module PSPUBG
Once you've done this, all the cmdlets will be at your disposal, you can see a full list using Get-Command -Module PSPUBG
. Remember to run Set-PUBGApiKey & Set-PUBGRegion before beginning to work with the API.
- Get-PUBGMatch
- Get-PUBGPlayers
- Get-PUBGSeasons
- Get-PUBGSeasonStats
- Remove-PUBGApiEnvironment
- Set-PUBGApiKey
- Set-PUBGRegion
- Test-PUBGApiEnvironment
Author: Morten G. Johansen (morten@glerupjohansen.dk) // Twitter