new way of counting

This commit is contained in:
Thijs Stobbelaar 2023-11-07 14:34:13 +01:00
parent 728f425f1b
commit b1d73eb1e7
2 changed files with 44 additions and 46 deletions

View file

@ -36,7 +36,7 @@ $headers = @{
'accept' = 'application/vnd.api+json'
'Authorization' = "$apiKey"
}
try {
try {
$playerinfo = Invoke-RestMethod -Uri "https://api.pubg.com/shards/steam/players?filter[playerNames]=$clanMembers" -Method GET -Headers $headers
} catch {
write-output 'Sleeping for 61 seconds'