Files
WotBlitzStatisticsBlazor/WotBlitzStatisticsPro.Blazor/graphql/PlayerInfo.graphql
T

127 lines
1.6 KiB
GraphQL
Raw Normal View History

2021-06-04 15:35:53 +02:00
query player
(
2021-05-28 13:39:29 +02:00
$accountId: Long!,
$realmType: RealmType!,
2021-06-04 15:35:53 +02:00
$requestLanguage: RequestLanguage!)
{
2021-05-28 13:39:29 +02:00
accountInfo(
accountId: $accountId,
realmType: $realmType,
requestLanguage: $requestLanguage) {
2021-06-04 15:35:53 +02:00
...account
2021-05-28 13:39:29 +02:00
}
2021-06-04 15:35:53 +02:00
accountMedals(
accountId: $accountId,
realmType: $realmType,
requestLanguage: $requestLanguage
2021-06-04 15:35:53 +02:00
) {
accountId
sections {
... section
}
}
}
fragment statistics on Statistics {
lastBattleTime
battles
capturePoints
damageDealt
damageReceived
droppedCapturePoints
frags
frags8P
hits
losses
maxFrags
maxXp
shots
spotted
survivedBattles
winAndSurvived
wins
xp
wn7
winRate
avgDamage
avgXp
damageCoefficient
survivalRate
}
fragment clan on ClanInfoResponse {
clanId
joinedAt
role
roleLocalized
name
createdAt
creatorId
creatorName
description
descriptionHtml
leaderId
leaderName
membersCount
motto
tag
updatedAt
}
fragment tank on TankInfoResponse {
tankId
battleLifeTimeInSeconds
markOfMastery
avgBattleLifeTimeInMinutes
name
tankNationId
tankNation
tier
tankTypeId
tankType
isPremium
previewImage
normalImage
... statistics
}
fragment account on AccountInfoResponse {
accountId
createdAt
nickname
maxFragsTankId
maxXpTankId
avgTier
... statistics
clanInfo {
...clan
}
tanks {
...tank
}
}
fragment medal on Achievement {
id
name
medalType
condition
description
achievementValue
maxSeriesValue
image
imageBig
order
sectionId
}
fragment section on AchievementSection {
sectionId
order
name
medals {
...medal
}
2021-05-28 13:39:29 +02:00
}