update clan members
This commit is contained in:
parent
da63c787cd
commit
4d05ce2e16
4 changed files with 1495 additions and 682 deletions
|
|
@ -34,7 +34,7 @@ $headers = @{
|
|||
'Authorization' = "$apiKey"
|
||||
}
|
||||
$playerinfo = Invoke-RestMethod -Uri "https://api.pubg.com/shards/steam/players?filter[playerNames]=$clanMembers" -Method GET -Headers $headers
|
||||
|
||||
$playerinfo.data | convertto-json -depth 100 | Out-File "$scriptroot/../data/player_data.json"
|
||||
$playerList = @()
|
||||
$playerinfo.data | ForEach-Object {
|
||||
$playerObject = [PSCustomObject]@{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue