new way of counting
This commit is contained in:
parent
728f425f1b
commit
b1d73eb1e7
2 changed files with 44 additions and 46 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue