This commit is contained in:
Thijs Stobbelaar 2023-09-23 17:50:18 +02:00
parent fb2ec174e7
commit 1ef9c83ba0
5 changed files with 2064 additions and 252 deletions

View file

@ -3,13 +3,13 @@
"type": "player",
"id": "account.3e75bc1560664817900f3747e2270659",
"attributes": {
"titleId": "pubg",
"shardId": "steam",
"patchVersion": "",
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "Lanta01",
"stats": null,
"titleId": "pubg"
"stats": null
},
"relationships": {
"assets": {
@ -307,6 +307,18 @@
},
"matches": {
"data": [
{
"type": "match",
"id": "09ee2eb1-4721-447d-8e9d-9735cbd6f69d"
},
{
"type": "match",
"id": "37ebed06-8c47-485b-9bf5-439e505c29c4"
},
{
"type": "match",
"id": "4711907b-2901-43ee-8c5a-ca22e38ea70a"
},
{
"type": "match",
"id": "a54daaad-62b7-4ed9-b9a8-b7fd39fe6a15"
@ -483,13 +495,13 @@
"type": "player",
"id": "account.4622686b9d9f44209d64503b18d96a1d",
"attributes": {
"patchVersion": "",
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "TaGMoM",
"stats": null,
"titleId": "pubg",
"shardId": "steam"
"shardId": "steam",
"patchVersion": "",
"banType": "Innocent"
},
"relationships": {
"assets": {
@ -572,18 +584,6 @@
{
"type": "match",
"id": "23b2b259-61ad-4dd9-bc79-e6d7943de61b"
},
{
"type": "match",
"id": "17340fd8-32ae-4afd-81f6-faff4370d679"
},
{
"type": "match",
"id": "89b959fd-2b65-4297-a115-698d0727c1a1"
},
{
"type": "match",
"id": "a00aced7-b4d3-43cf-bd6e-d94664a8f55e"
}
]
}
@ -597,13 +597,13 @@
"type": "player",
"id": "account.b39f1fc9e49b471f8cd9ccce15ad9676",
"attributes": {
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "r00tger",
"stats": null,
"titleId": "pubg",
"shardId": "steam",
"patchVersion": "",
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "r00tger"
"patchVersion": ""
},
"relationships": {
"assets": {
@ -627,18 +627,15 @@
"type": "player",
"id": "account.2322e3d471a5418696b6f14271afd83a",
"attributes": {
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "Masistuta",
"stats": null,
"titleId": "pubg",
"shardId": "steam",
"patchVersion": "",
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776"
"patchVersion": ""
},
"relationships": {
"assets": {
"data": []
},
"matches": {
"data": [
{
@ -800,34 +797,29 @@
{
"type": "match",
"id": "23b2b259-61ad-4dd9-bc79-e6d7943de61b"
},
{
"type": "match",
"id": "89b959fd-2b65-4297-a115-698d0727c1a1"
},
{
"type": "match",
"id": "a00aced7-b4d3-43cf-bd6e-d94664a8f55e"
}
]
},
"assets": {
"data": []
}
},
"links": {
"self": "https://api.pubg.com/shards/steam/players/account.2322e3d471a5418696b6f14271afd83a",
"schema": ""
"schema": "",
"self": "https://api.pubg.com/shards/steam/players/account.2322e3d471a5418696b6f14271afd83a"
}
},
{
"type": "player",
"id": "account.275452133d6744d494a1b145da12f75a",
"attributes": {
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "RalphNorris",
"stats": null,
"titleId": "pubg",
"shardId": "steam",
"patchVersion": "",
"banType": "TemporaryBan",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "RalphNorris",
"stats": null
"banType": "TemporaryBan"
},
"relationships": {
"assets": {
@ -1051,13 +1043,13 @@
"type": "player",
"id": "account.0026f9f08725424fa477ba986991e064",
"attributes": {
"patchVersion": "",
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "Jimbo_The_One",
"stats": null,
"titleId": "pubg",
"shardId": "steam",
"patchVersion": ""
"shardId": "steam"
},
"relationships": {
"assets": {
@ -1065,6 +1057,66 @@
},
"matches": {
"data": [
{
"type": "match",
"id": "2b9c4668-e2de-41d0-ab5a-db39ded3ad4c"
},
{
"type": "match",
"id": "4597838f-a317-403c-80be-f872332d29a4"
},
{
"type": "match",
"id": "6d97094c-304b-4d5f-84b8-c97b4d9914f3"
},
{
"type": "match",
"id": "bea1cd04-5de0-40f8-b626-248dbd5ef8e8"
},
{
"type": "match",
"id": "56ba45fc-430c-43c9-9f43-7cac4a5521d4"
},
{
"type": "match",
"id": "20f68f6e-21d4-4fec-a396-701e9e8048db"
},
{
"type": "match",
"id": "88e4800f-aaf9-4a11-9f0f-5aa319026483"
},
{
"type": "match",
"id": "8bffabd7-5027-42ff-974d-71948c21c116"
},
{
"type": "match",
"id": "d1eb616b-ae29-46bd-96a4-9d5e02db2936"
},
{
"type": "match",
"id": "a2bb7007-68c7-4af0-b04b-f297502c5421"
},
{
"type": "match",
"id": "5d795f0a-bd56-4744-aa9c-1769f4b13aba"
},
{
"type": "match",
"id": "ee56af8a-533d-46d1-91ba-e9757702c48b"
},
{
"type": "match",
"id": "effd3894-325a-4026-adaa-f8e21e64cf7d"
},
{
"type": "match",
"id": "d1208de1-0841-4383-9c3f-d340704800f5"
},
{
"type": "match",
"id": "e869949d-c33e-4312-a061-79dee84c1509"
},
{
"type": "match",
"id": "a4093c92-0322-4b6d-a78d-8bec8223faa5"
@ -1189,25 +1241,33 @@
"type": "player",
"id": "account.56ea56d593e440a48c3eaa5613b7eaa0",
"attributes": {
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776",
"name": "Shepherders",
"stats": null,
"titleId": "pubg",
"shardId": "steam",
"patchVersion": "",
"banType": "Innocent",
"clanId": "clan.d67f3a9805414aa7b78a1f122a7de776"
"patchVersion": ""
},
"relationships": {
"assets": {
"data": []
},
"matches": {
"data": [
{
"type": "match",
"id": "42c5aa3d-a85b-4767-bdb2-667b541d3cda"
},
{
"type": "match",
"id": "4e9a4d06-a247-4e7b-99d8-b2c184029566"
},
{
"type": "match",
"id": "3efd17c2-cf13-4f64-96d6-6a54af9acb4e"
}
]
},
"assets": {
"data": []
}
},
"links": {

View file

@ -1,110 +1,5 @@
{
"updated": "09/22/2023 14:29:29 - Time Zone: W. Europe Standard Time",
"duo": {
"Shepherders": {
"account.56ea56d593e440a48c3eaa5613b7eaa0": null
},
"TaGMoM": {
"account.4622686b9d9f44209d64503b18d96a1d": null
},
"Lanta01": {
"account.3e75bc1560664817900f3747e2270659": null
},
"Masistuta": {
"account.2322e3d471a5418696b6f14271afd83a": null
},
"RalphNorris": {
"account.275452133d6744d494a1b145da12f75a": null
},
"r00tger": {
"account.b39f1fc9e49b471f8cd9ccce15ad9676": null
},
"Petje1972": {
"account.889799e275e94395aa1a9e66ec3e1ff2": null
},
"Jimbo_The_One": {
"account.0026f9f08725424fa477ba986991e064": null
}
},
"solo": {
"Shepherders": {
"account.56ea56d593e440a48c3eaa5613b7eaa0": {
"assists": 0,
"boosts": 42,
"dBNOs": 0,
"dailyKills": 3,
"dailyWins": 0,
"damageDealt": 4534.8965,
"days": 25,
"headshotKills": 9,
"heals": 53,
"killPoints": 0,
"kills": 36,
"longestKill": 94.48783,
"longestTimeSurvived": 1786,
"losses": 37,
"maxKillStreaks": 1,
"mostSurvivalTime": 1786,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 43446.68,
"roadKills": 0,
"roundMostKills": 4,
"roundsPlayed": 37,
"suicides": 0,
"swimDistance": 407.5236,
"teamKills": 0,
"timeSurvived": 29324.887,
"top10s": 8,
"vehicleDestroys": 0,
"walkDistance": 44193.87,
"weaponsAcquired": 140,
"weeklyKills": 3,
"weeklyWins": 0,
"winPoints": 0,
"wins": 0
}
},
"TaGMoM": {
"account.4622686b9d9f44209d64503b18d96a1d": {
"assists": 0,
"boosts": 30,
"dBNOs": 0,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 1996.2902,
"days": 18,
"headshotKills": 4,
"heals": 50,
"killPoints": 0,
"kills": 14,
"longestKill": 240.44931,
"longestTimeSurvived": 1807,
"losses": 23,
"maxKillStreaks": 2,
"mostSurvivalTime": 1807,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 60284.086,
"roadKills": 0,
"roundMostKills": 6,
"roundsPlayed": 23,
"suicides": 0,
"swimDistance": 158.53871,
"teamKills": 0,
"timeSurvived": 23126,
"top10s": 7,
"vehicleDestroys": 0,
"walkDistance": 33895.348,
"weaponsAcquired": 127,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
"wins": 0
}
},
"Lanta01": {
"account.3e75bc1560664817900f3747e2270659": {
"assists": 0,
@ -183,39 +78,39 @@
"wins": 5
}
},
"RalphNorris": {
"account.275452133d6744d494a1b145da12f75a": {
"Jimbo_The_One": {
"account.0026f9f08725424fa477ba986991e064": {
"assists": 0,
"boosts": 0,
"dBNOs": 0,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 0,
"days": 0,
"days": 1,
"headshotKills": 0,
"heals": 0,
"killPoints": 0,
"kills": 0,
"longestKill": 0,
"longestTimeSurvived": 0,
"losses": 0,
"longestTimeSurvived": 406,
"losses": 1,
"maxKillStreaks": 0,
"mostSurvivalTime": 0,
"mostSurvivalTime": 406,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 0,
"roadKills": 0,
"roundMostKills": 0,
"roundsPlayed": 0,
"roundsPlayed": 1,
"suicides": 0,
"swimDistance": 0,
"teamKills": 0,
"timeSurvived": 0,
"timeSurvived": 406,
"top10s": 0,
"vehicleDestroys": 0,
"walkDistance": 0,
"weaponsAcquired": 0,
"walkDistance": 929.076,
"weaponsAcquired": 5,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
@ -264,75 +159,153 @@
"Petje1972": {
"account.889799e275e94395aa1a9e66ec3e1ff2": {
"assists": 3,
"boosts": 1080,
"boosts": 1093,
"dBNOs": 0,
"dailyKills": 18,
"dailyWins": 0,
"damageDealt": 209072.52,
"days": 183,
"headshotKills": 577,
"heals": 734,
"dailyKills": 21,
"dailyWins": 1,
"damageDealt": 210976.11,
"days": 184,
"headshotKills": 580,
"heals": 742,
"killPoints": 0,
"kills": 2213,
"kills": 2234,
"longestKill": 568.85095,
"longestTimeSurvived": 1927,
"losses": 397,
"losses": 399,
"maxKillStreaks": 3,
"mostSurvivalTime": 1927,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 1045924.3,
"rideDistance": 1065835,
"roadKills": 58,
"roundMostKills": 19,
"roundsPlayed": 429,
"roundsPlayed": 432,
"suicides": 10,
"swimDistance": 3233.0042,
"teamKills": 1,
"timeSurvived": 465564.8,
"top10s": 186,
"timeSurvived": 469723.8,
"top10s": 189,
"vehicleDestroys": 6,
"walkDistance": 722671.44,
"weaponsAcquired": 2086,
"weeklyKills": 18,
"weeklyWins": 0,
"walkDistance": 728546.3,
"weaponsAcquired": 2102,
"weeklyKills": 39,
"weeklyWins": 1,
"winPoints": 0,
"wins": 32
"wins": 33
}
},
"Jimbo_The_One": {
"account.0026f9f08725424fa477ba986991e064": {
"Shepherders": {
"account.56ea56d593e440a48c3eaa5613b7eaa0": {
"assists": 0,
"boosts": 42,
"dBNOs": 0,
"dailyKills": 3,
"dailyWins": 0,
"damageDealt": 4534.8965,
"days": 25,
"headshotKills": 9,
"heals": 53,
"killPoints": 0,
"kills": 36,
"longestKill": 94.48783,
"longestTimeSurvived": 1786,
"losses": 37,
"maxKillStreaks": 1,
"mostSurvivalTime": 1786,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 43446.68,
"roadKills": 0,
"roundMostKills": 4,
"roundsPlayed": 37,
"suicides": 0,
"swimDistance": 407.5236,
"teamKills": 0,
"timeSurvived": 29324.887,
"top10s": 8,
"vehicleDestroys": 0,
"walkDistance": 44193.87,
"weaponsAcquired": 140,
"weeklyKills": 3,
"weeklyWins": 0,
"winPoints": 0,
"wins": 0
}
},
"RalphNorris": {
"account.275452133d6744d494a1b145da12f75a": {
"assists": 0,
"boosts": 0,
"dBNOs": 0,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 0,
"days": 1,
"days": 0,
"headshotKills": 0,
"heals": 0,
"killPoints": 0,
"kills": 0,
"longestKill": 0,
"longestTimeSurvived": 406,
"losses": 1,
"longestTimeSurvived": 0,
"losses": 0,
"maxKillStreaks": 0,
"mostSurvivalTime": 406,
"mostSurvivalTime": 0,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 0,
"roadKills": 0,
"roundMostKills": 0,
"roundsPlayed": 1,
"roundsPlayed": 0,
"suicides": 0,
"swimDistance": 0,
"teamKills": 0,
"timeSurvived": 406,
"timeSurvived": 0,
"top10s": 0,
"vehicleDestroys": 0,
"walkDistance": 929.076,
"weaponsAcquired": 5,
"walkDistance": 0,
"weaponsAcquired": 0,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
"wins": 0
}
},
"TaGMoM": {
"account.4622686b9d9f44209d64503b18d96a1d": {
"assists": 0,
"boosts": 30,
"dBNOs": 0,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 1996.2902,
"days": 18,
"headshotKills": 4,
"heals": 50,
"killPoints": 0,
"kills": 14,
"longestKill": 240.44931,
"longestTimeSurvived": 1807,
"losses": 23,
"maxKillStreaks": 2,
"mostSurvivalTime": 1807,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 60284.086,
"roadKills": 0,
"roundMostKills": 6,
"roundsPlayed": 23,
"suicides": 0,
"swimDistance": 158.53871,
"teamKills": 0,
"timeSurvived": 23126,
"top10s": 7,
"vehicleDestroys": 0,
"walkDistance": 33895.348,
"weaponsAcquired": 127,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
@ -340,30 +313,633 @@
}
}
},
"updated": "09/23/2023 17:01:03 - Time Zone: W. Europe Standard Time",
"squad": {
"Shepherders": {
"account.56ea56d593e440a48c3eaa5613b7eaa0": null
},
"TaGMoM": {
"account.4622686b9d9f44209d64503b18d96a1d": null
},
"Lanta01": {
"account.3e75bc1560664817900f3747e2270659": null
"account.3e75bc1560664817900f3747e2270659": {
"assists": 1289,
"boosts": 4190,
"dBNOs": 5351,
"dailyKills": 30,
"dailyWins": 2,
"damageDealt": 699326.3,
"days": 503,
"headshotKills": 1124,
"heals": 5441,
"killPoints": 0,
"kills": 6895,
"longestKill": 573.3457,
"longestTimeSurvived": 1950,
"losses": 1690,
"maxKillStreaks": 6,
"mostSurvivalTime": 1950,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 553,
"rideDistance": 5686653.5,
"roadKills": 689,
"roundMostKills": 26,
"roundsPlayed": 2087,
"suicides": 42,
"swimDistance": 10567.895,
"teamKills": 30,
"timeSurvived": 2089971.8,
"top10s": 1205,
"vehicleDestroys": 75,
"walkDistance": 2805439.5,
"weaponsAcquired": 11703,
"weeklyKills": 83,
"weeklyWins": 8,
"winPoints": 0,
"wins": 411
}
},
"Masistuta": {
"account.2322e3d471a5418696b6f14271afd83a": null
},
"RalphNorris": {
"account.275452133d6744d494a1b145da12f75a": null
},
"r00tger": {
"account.b39f1fc9e49b471f8cd9ccce15ad9676": null
},
"Petje1972": {
"account.889799e275e94395aa1a9e66ec3e1ff2": null
"account.2322e3d471a5418696b6f14271afd83a": {
"assists": 692,
"boosts": 4159,
"dBNOs": 2535,
"dailyKills": 8,
"dailyWins": 2,
"damageDealt": 344990.78,
"days": 363,
"headshotKills": 694,
"heals": 2377,
"killPoints": 0,
"kills": 3343,
"longestKill": 498.75113,
"longestTimeSurvived": 1975,
"losses": 1188,
"maxKillStreaks": 5,
"mostSurvivalTime": 1975,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 391,
"rideDistance": 3599036.2,
"roadKills": 136,
"roundMostKills": 16,
"roundsPlayed": 1483,
"suicides": 18,
"swimDistance": 6016.207,
"teamKills": 5,
"timeSurvived": 1560614.8,
"top10s": 938,
"vehicleDestroys": 15,
"walkDistance": 2353229,
"weaponsAcquired": 7562,
"weeklyKills": 19,
"weeklyWins": 3,
"winPoints": 0,
"wins": 304
}
},
"Jimbo_The_One": {
"account.0026f9f08725424fa477ba986991e064": null
"account.0026f9f08725424fa477ba986991e064": {
"assists": 15,
"boosts": 72,
"dBNOs": 43,
"dailyKills": 5,
"dailyWins": 0,
"damageDealt": 5408.2676,
"days": 13,
"headshotKills": 15,
"heals": 140,
"killPoints": 0,
"kills": 59,
"longestKill": 258.01843,
"longestTimeSurvived": 1579,
"losses": 36,
"maxKillStreaks": 2,
"mostSurvivalTime": 1579,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 6,
"rideDistance": 111563.48,
"roadKills": 0,
"roundMostKills": 6,
"roundsPlayed": 43,
"suicides": 2,
"swimDistance": 89.939255,
"teamKills": 0,
"timeSurvived": 46157,
"top10s": 29,
"vehicleDestroys": 1,
"walkDistance": 56987.605,
"weaponsAcquired": 212,
"weeklyKills": 13,
"weeklyWins": 2,
"winPoints": 0,
"wins": 10
}
},
"r00tger": {
"account.b39f1fc9e49b471f8cd9ccce15ad9676": {
"assists": 251,
"boosts": 1297,
"dBNOs": 692,
"dailyKills": 6,
"dailyWins": 1,
"damageDealt": 83855.42,
"days": 145,
"headshotKills": 176,
"heals": 1080,
"killPoints": 0,
"kills": 831,
"longestKill": 374.33276,
"longestTimeSurvived": 1975,
"losses": 412,
"maxKillStreaks": 4,
"mostSurvivalTime": 1975,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 124,
"rideDistance": 1084922.8,
"roadKills": 25,
"roundMostKills": 14,
"roundsPlayed": 507,
"suicides": 15,
"swimDistance": 1021.355,
"teamKills": 3,
"timeSurvived": 509005.44,
"top10s": 316,
"vehicleDestroys": 14,
"walkDistance": 682789.4,
"weaponsAcquired": 2686,
"weeklyKills": 6,
"weeklyWins": 1,
"winPoints": 0,
"wins": 103
}
},
"Petje1972": {
"account.889799e275e94395aa1a9e66ec3e1ff2": {
"assists": 620,
"boosts": 1656,
"dBNOs": 2086,
"dailyKills": 15,
"dailyWins": 1,
"damageDealt": 279050,
"days": 220,
"headshotKills": 574,
"heals": 1496,
"killPoints": 0,
"kills": 2664,
"longestKill": 663.9124,
"longestTimeSurvived": 1861,
"losses": 568,
"maxKillStreaks": 5,
"mostSurvivalTime": 1861,
"rankPoints": 1,
"rankPointsTitle": "",
"revives": 200,
"rideDistance": 1842997.9,
"roadKills": 54,
"roundMostKills": 31,
"roundsPlayed": 721,
"suicides": 12,
"swimDistance": 4340.0566,
"teamKills": 4,
"timeSurvived": 725869.56,
"top10s": 448,
"vehicleDestroys": 10,
"walkDistance": 1118628.9,
"weaponsAcquired": 3701,
"weeklyKills": 28,
"weeklyWins": 1,
"winPoints": 0,
"wins": 160
}
},
"Shepherders": {
"account.56ea56d593e440a48c3eaa5613b7eaa0": {
"assists": 444,
"boosts": 1287,
"dBNOs": 1149,
"dailyKills": 3,
"dailyWins": 0,
"damageDealt": 163494.6,
"days": 313,
"headshotKills": 235,
"heals": 1830,
"killPoints": 0,
"kills": 1318,
"longestKill": 496.61923,
"longestTimeSurvived": 1945.187,
"losses": 835,
"maxKillStreaks": 5,
"mostSurvivalTime": 1945.187,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 246,
"rideDistance": 1790631.5,
"roadKills": 56,
"roundMostKills": 17,
"roundsPlayed": 943,
"suicides": 15,
"swimDistance": 4127.6733,
"teamKills": 22,
"timeSurvived": 830366.2,
"top10s": 420,
"vehicleDestroys": 14,
"walkDistance": 1187606.6,
"weaponsAcquired": 4178,
"weeklyKills": 4,
"weeklyWins": 0,
"winPoints": 0,
"wins": 109
}
},
"RalphNorris": {
"account.275452133d6744d494a1b145da12f75a": {
"assists": 602,
"boosts": 2349,
"dBNOs": 1694,
"dailyKills": 9,
"dailyWins": 2,
"damageDealt": 218733.08,
"days": 361,
"headshotKills": 305,
"heals": 3075,
"killPoints": 0,
"kills": 2170,
"longestKill": 632.896,
"longestTimeSurvived": 2183,
"losses": 1176,
"maxKillStreaks": 6,
"mostSurvivalTime": 2183,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 251,
"rideDistance": 2912686.2,
"roadKills": 166,
"roundMostKills": 18,
"roundsPlayed": 1348,
"suicides": 25,
"swimDistance": 7767.365,
"teamKills": 13,
"timeSurvived": 1308760,
"top10s": 753,
"vehicleDestroys": 13,
"walkDistance": 2045225.1,
"weaponsAcquired": 7494,
"weeklyKills": 27,
"weeklyWins": 3,
"winPoints": 0,
"wins": 177
}
},
"TaGMoM": {
"account.4622686b9d9f44209d64503b18d96a1d": {
"assists": 268,
"boosts": 956,
"dBNOs": 623,
"dailyKills": 16,
"dailyWins": 1,
"damageDealt": 81465.09,
"days": 126,
"headshotKills": 113,
"heals": 1378,
"killPoints": 0,
"kills": 807,
"longestKill": 494.7613,
"longestTimeSurvived": 1911,
"losses": 361,
"maxKillStreaks": 4,
"mostSurvivalTime": 1911,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 104,
"rideDistance": 1222847.5,
"roadKills": 49,
"roundMostKills": 14,
"roundsPlayed": 441,
"suicides": 11,
"swimDistance": 1239.1948,
"teamKills": 1,
"timeSurvived": 467424,
"top10s": 292,
"vehicleDestroys": 3,
"walkDistance": 739461.3,
"weaponsAcquired": 2408,
"weeklyKills": 18,
"weeklyWins": 1,
"winPoints": 0,
"wins": 91
}
}
},
"duo": {
"Lanta01": {
"account.3e75bc1560664817900f3747e2270659": {
"assists": 74,
"boosts": 600,
"dBNOs": 311,
"dailyKills": 4,
"dailyWins": 0,
"damageDealt": 65681.57,
"days": 180,
"headshotKills": 94,
"heals": 790,
"killPoints": 0,
"kills": 432,
"longestKill": 396.7462,
"longestTimeSurvived": 1897,
"losses": 430,
"maxKillStreaks": 3,
"mostSurvivalTime": 1897,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 80,
"rideDistance": 802699.2,
"roadKills": 18,
"roundMostKills": 8,
"roundsPlayed": 438,
"suicides": 11,
"swimDistance": 1948.0481,
"teamKills": 4,
"timeSurvived": 341757.75,
"top10s": 131,
"vehicleDestroys": 7,
"walkDistance": 602869.4,
"weaponsAcquired": 2296,
"weeklyKills": 4,
"weeklyWins": 0,
"winPoints": 0,
"wins": 8
}
},
"Masistuta": {
"account.2322e3d471a5418696b6f14271afd83a": {
"assists": 40,
"boosts": 574,
"dBNOs": 116,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 25657.559,
"days": 122,
"headshotKills": 43,
"heals": 352,
"killPoints": 0,
"kills": 156,
"longestKill": 379.67862,
"longestTimeSurvived": 1917,
"losses": 308,
"maxKillStreaks": 2,
"mostSurvivalTime": 1917,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 43,
"rideDistance": 525320.2,
"roadKills": 0,
"roundMostKills": 5,
"roundsPlayed": 312,
"suicides": 3,
"swimDistance": 957.83136,
"teamKills": 0,
"timeSurvived": 244791,
"top10s": 98,
"vehicleDestroys": 5,
"walkDistance": 316070.06,
"weaponsAcquired": 1432,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
"wins": 4
}
},
"Jimbo_The_One": {
"account.0026f9f08725424fa477ba986991e064": {
"assists": 0,
"boosts": 1,
"dBNOs": 0,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 66.78,
"days": 2,
"headshotKills": 0,
"heals": 4,
"killPoints": 0,
"kills": 0,
"longestKill": 0,
"longestTimeSurvived": 973,
"losses": 2,
"maxKillStreaks": 0,
"mostSurvivalTime": 973,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 0,
"rideDistance": 4502.344,
"roadKills": 0,
"roundMostKills": 0,
"roundsPlayed": 2,
"suicides": 0,
"swimDistance": 0,
"teamKills": 0,
"timeSurvived": 1376,
"top10s": 0,
"vehicleDestroys": 0,
"walkDistance": 1543.4169,
"weaponsAcquired": 11,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
"wins": 0
}
},
"r00tger": {
"account.b39f1fc9e49b471f8cd9ccce15ad9676": {
"assists": 4,
"boosts": 32,
"dBNOs": 5,
"dailyKills": 1,
"dailyWins": 1,
"damageDealt": 978.51666,
"days": 9,
"headshotKills": 0,
"heals": 33,
"killPoints": 0,
"kills": 5,
"longestKill": 128.73962,
"longestTimeSurvived": 1481,
"losses": 16,
"maxKillStreaks": 1,
"mostSurvivalTime": 1481,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 3,
"rideDistance": 39566.24,
"roadKills": 0,
"roundMostKills": 2,
"roundsPlayed": 17,
"suicides": 0,
"swimDistance": 2.4766102,
"teamKills": 0,
"timeSurvived": 14663.755,
"top10s": 6,
"vehicleDestroys": 0,
"walkDistance": 21671.293,
"weaponsAcquired": 72,
"weeklyKills": 1,
"weeklyWins": 1,
"winPoints": 0,
"wins": 1
}
},
"Petje1972": {
"account.889799e275e94395aa1a9e66ec3e1ff2": {
"assists": 36,
"boosts": 258,
"dBNOs": 110,
"dailyKills": 1,
"dailyWins": 0,
"damageDealt": 24378.89,
"days": 90,
"headshotKills": 28,
"heals": 287,
"killPoints": 0,
"kills": 148,
"longestKill": 232.37743,
"longestTimeSurvived": 1938.722,
"losses": 222,
"maxKillStreaks": 2,
"mostSurvivalTime": 1938.722,
"rankPoints": 1,
"rankPointsTitle": "",
"revives": 33,
"rideDistance": 214098.05,
"roadKills": 0,
"roundMostKills": 7,
"roundsPlayed": 224,
"suicides": 4,
"swimDistance": 1160.3948,
"teamKills": 3,
"timeSurvived": 173157.78,
"top10s": 47,
"vehicleDestroys": 0,
"walkDistance": 266150.5,
"weaponsAcquired": 1035,
"weeklyKills": 7,
"weeklyWins": 0,
"winPoints": 0,
"wins": 2
}
},
"Shepherders": {
"account.56ea56d593e440a48c3eaa5613b7eaa0": {
"assists": 79,
"boosts": 441,
"dBNOs": 206,
"dailyKills": 3,
"dailyWins": 0,
"damageDealt": 46212.53,
"days": 128,
"headshotKills": 44,
"heals": 462,
"killPoints": 0,
"kills": 306,
"longestKill": 498.95142,
"longestTimeSurvived": 1947.468,
"losses": 323,
"maxKillStreaks": 2,
"mostSurvivalTime": 1947.468,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 49,
"rideDistance": 266829.22,
"roadKills": 3,
"roundMostKills": 10,
"roundsPlayed": 332,
"suicides": 5,
"swimDistance": 1271.745,
"teamKills": 9,
"timeSurvived": 253009.6,
"top10s": 88,
"vehicleDestroys": 10,
"walkDistance": 394799.9,
"weaponsAcquired": 1408,
"weeklyKills": 3,
"weeklyWins": 0,
"winPoints": 0,
"wins": 12
}
},
"RalphNorris": {
"account.275452133d6744d494a1b145da12f75a": {
"assists": 19,
"boosts": 133,
"dBNOs": 35,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 7404.458,
"days": 49,
"headshotKills": 8,
"heals": 171,
"killPoints": 0,
"kills": 48,
"longestKill": 167.74887,
"longestTimeSurvived": 1863,
"losses": 94,
"maxKillStreaks": 2,
"mostSurvivalTime": 1863,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 13,
"rideDistance": 160407.58,
"roadKills": 2,
"roundMostKills": 5,
"roundsPlayed": 96,
"suicides": 4,
"swimDistance": 531.9813,
"teamKills": 0,
"timeSurvived": 66916,
"top10s": 21,
"vehicleDestroys": 1,
"walkDistance": 90815.72,
"weaponsAcquired": 480,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
"wins": 2
}
},
"TaGMoM": {
"account.4622686b9d9f44209d64503b18d96a1d": {
"assists": 5,
"boosts": 86,
"dBNOs": 10,
"dailyKills": 0,
"dailyWins": 0,
"damageDealt": 2483.6016,
"days": 26,
"headshotKills": 1,
"heals": 73,
"killPoints": 0,
"kills": 14,
"longestKill": 129.64589,
"longestTimeSurvived": 1917,
"losses": 57,
"maxKillStreaks": 2,
"mostSurvivalTime": 1917,
"rankPoints": 0,
"rankPointsTitle": "",
"revives": 2,
"rideDistance": 112791.69,
"roadKills": 0,
"roundMostKills": 5,
"roundsPlayed": 59,
"suicides": 1,
"swimDistance": 536.6035,
"teamKills": 2,
"timeSurvived": 52875,
"top10s": 22,
"vehicleDestroys": 0,
"walkDistance": 75226.24,
"weaponsAcquired": 319,
"weeklyKills": 0,
"weeklyWins": 0,
"winPoints": 0,
"wins": 2
}
}
}
}

1096
data/player_matches.json Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,53 +1,66 @@
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
?>
// Sample data from the API
$data = json_decode(file_get_contents('./data/player_data.json'), true); // Replace 'YOUR_JSON_DATA_HERE' with the JSON data you've provided
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DTCH - PUBG Clan - Match Stats</title>
<link rel="stylesheet" href="./includes/styles.css">
</head>
<body>
// Extract details
$mapName = $data['data']['attributes']['mapName'];
$matchType = $data['data']['attributes']['matchType'];
<?php include './includes/navigation.php'; ?>
$participants = [];
<main>
<section>
<h2>Match Stats</h2>
<?php
include './config/config.php';
// Find all participants in the "included" section
foreach ($data['included'] as $include) {
if ($include['type'] === 'participant') {
$participants[$include['id']] = $include['attributes']['stats'];
}
}
$players_matches = json_decode(file_get_contents('./data/player_matches.json'), true);
echo '<table border="1">';
echo '<tr>';
echo '<th>Name</th>';
echo '<th>DBNOs</th>';
echo '<th>Assists</th>';
echo '<th>Headshot Kills</th>';
echo '<th>Kills</th>';
echo '<th>Revives</th>';
echo '</tr>';
// Display buttons for each player
echo "<form method='post' action=''>";
foreach ($players_matches as $player_data) {
$player_name = $player_data['playername'];
echo "<button type='submit' name='selected_player' value='$player_name' class='btn'>$player_name</button>";
}
echo "</form><br>";
// Iterate through rosters and link players to participants
foreach ($data['data']['relationships']['rosters']['data'] as $roster) {
foreach ($data['included'] as $include) {
if ($include['type'] === 'roster' && $include['id'] === $roster['id']) {
foreach ($include['relationships']['participants']['data'] as $participant) {
if (isset($participants[$participant['id']])) {
echo '<tr>';
echo '<td>' . $participants[$participant['id']]['name'] . '</td>';
echo '<td>' . $participants[$participant['id']]['DBNOs'] . '</td>';
echo '<td>' . $participants[$participant['id']]['assists'] . '</td>';
echo '<td>' . $participants[$participant['id']]['headshotKills'] . '</td>';
echo '<td>' . $participants[$participant['id']]['kills'] . '</td>';
echo '<td>' . $participants[$participant['id']]['revives'] . '</td>';
echo '</tr>';
$selected_player = $_POST['selected_player'] ?? $players_matches[0]['playername'];
// Display the player's match stats
foreach ($players_matches as $player_data) {
if ($player_data['playername'] === $selected_player) {
echo "<h2>Recent Matches for $selected_player</h2>";
echo "<table border='1'>";
echo "<tr><th>Match Date</th><th>Game Mode</th><th>Map</th><th>Kills</th><th>Damage Dealt</th><th>Time Survived</th></tr>";
foreach ($player_data['player_matches'] as $match) {
$date = new DateTime($match['createdAt']);
$formattedDate = $date->format('d F Y, H:i:s');
$gameMode = $match['gameMode'];
$mapName = $match['mapName'];
$kills = $match['stats']['kills'];
$damage = $match['stats']['damageDealt'];
$timeSurvived = $match['stats']['timeSurvived'];
echo "<tr><td>$formattedDate</td><td>$gameMode</td><td>$mapName</td><td>$kills</td><td>$damage</td><td>$timeSurvived</td></tr>";
}
echo "</table><br>";
}
}
}
}
}
?>
</section>
</main>
echo '</table>';
echo '<p>Map Name: ' . $mapName . '</p>';
echo '<p>Match Type: ' . $matchType . '</p>';
<?php include './includes/footer.php'; ?>
?>
</body>
</html>

67
update/get_matches.ps1 Normal file
View file

@ -0,0 +1,67 @@
if ($PSScriptRoot.length -eq 0) {
$scriptroot = Get-Location
}
else {
$scriptroot = $PSScriptRoot
}
# Read the content of the file as a single string
$fileContent = Get-Content -Path "$scriptroot/../config/config.php" -Raw
# Use regex to match the apiKey value
if ($fileContent -match "\`$apiKey\s*=\s*\'([^\']+)\'") {
$apiKey = $matches[1]
}
else {
Write-Output "API Key not found"
}
if ($fileContent -match "\`$clanmembers\s*=\s*array\(([^)]+)\)") {
# Remove quotes and split by comma to get individual members
$clanMembers = ($matches[1] -replace '"|\'', '' -split ","').replace(" ", "")
$clanMembersArray = $clanMembers.split(",").trim()
Write-Output "Clan Members: $($clanMembersArray -join ', ')"
}
else {
Write-Output "Clan members not found"
}
if ($clanMembersArray.count -ge 10 ) {
write-output "Currently not able to process more then 10 players"
exit
}
$headers = @{
'accept' = 'application/vnd.api+json'
'Authorization' = "$apiKey"
}
$player_data = get-content "$scriptroot/../data/player_data.json" | convertfrom-json -Depth 100
$player_matches = @()
foreach ($player in $player_data) {
$lastMatches = $player.relationships.matches.data.id | Select-Object -First 5
$playermatches = @()
foreach ($match in $lastMatches) {
Write-Host "Getting match for $($player.attributes.name) match: $match "
$stats = Invoke-RestMethod -Uri "https://api.pubg.com/shards/steam/matches/$match" -Method GET -Headers $headers
$playermatches += [PSCustomObject]@{
stats = $stats.included.ATTRIBUTES.stats | where-object {$_.name -eq $player.attributes.name}
matchType = $stats.data.attributes.matchtype
gameMode = $stats.data.attributes.gameMode
createdAt = $stats.data.attributes.createdAt
mapName = $stats.data.attributes.mapName
}
}
$obj = [PSCustomObject]@{
playername = $player.attributes.name
player_matches = $playermatches
}
$player_matches += $obj
}
$player_matches | convertto-json -Depth 100 | out-file "$scriptroot/../data/player_matches.json"