valo_api.responses package
Submodules
valo_api.responses.account_details module
Classes:
|
|
|
- class AccountCardV1(id: str, small: str, large: str, wide: str)
Bases:
DictStruct
Attributes:
-
id:
str
-
small:
str
-
large:
str
-
wide:
str
-
id:
- class AccountDetailsV1(puuid: str, region: str, account_level: int, name: str, tag: str, card: AccountCardV1 | None = None, last_update: str | None = None, last_update_raw: int | None = None)
Bases:
DictStruct
Attributes:
-
puuid:
str
-
region:
str
-
account_level:
int
-
name:
str
-
tag:
str
-
card:
Optional
[AccountCardV1
]
-
last_update:
Optional
[str
]
-
last_update_raw:
Optional
[int
]
-
puuid:
valo_api.responses.competitive_updates_raw module
Classes:
|
|
|
- class CompetitiveMatchRaw(MatchID: str, MapID: str, SeasonID: str, MatchStartTime: int, TierAfterUpdate: int, TierBeforeUpdate: int, RankedRatingAfterUpdate: int, RankedRatingBeforeUpdate: int, RankedRatingEarned: int, RankedRatingPerformanceBonus: int, CompetitiveMovement: str, AFKPenalty: int)
Bases:
DictStruct
Attributes:
-
MatchID:
str
-
MapID:
str
-
SeasonID:
str
-
MatchStartTime:
int
-
TierAfterUpdate:
int
-
TierBeforeUpdate:
int
-
RankedRatingAfterUpdate:
int
-
RankedRatingBeforeUpdate:
int
-
RankedRatingEarned:
int
-
RankedRatingPerformanceBonus:
int
-
CompetitiveMovement:
str
-
AFKPenalty:
int
-
MatchID:
- class CompetitiveUpdatesRawV1(Version: int, Subject: str, Matches: List[CompetitiveMatchRaw])
Bases:
DictStruct
Attributes:
-
Version:
int
-
Subject:
str
-
Matches:
List
[CompetitiveMatchRaw
]
-
Version:
valo_api.responses.content module
Classes:
|
|
|
|
|
- class Entity(name: str, id: str, assetName: str, assetPath: str | None = None, localizedNames: Dict[str, str] | None = None)
Bases:
DictStruct
Attributes:
-
name:
str
-
id:
str
-
assetName:
str
-
assetPath:
Optional
[str
]
-
localizedNames:
Optional
[Dict
[str
,str
]]
-
name:
- class Act(id: str, parentId: str, type: str, name: str, isActive: bool, localizedNames: Dict[str, str] | None = None)
Bases:
DictStruct
Attributes:
-
id:
str
-
parentId:
str
-
type:
str
-
name:
str
-
isActive:
bool
-
localizedNames:
Optional
[Dict
[str
,str
]]
-
id:
- class ContentV1(version: str, characters: List[Entity], maps: List[Entity], chromas: List[Entity], skins: List[Entity], skinLevels: List[Entity], equips: List[Entity], gameModes: List[Entity], sprays: List[Entity], sprayLevels: List[Entity], charms: List[Entity], charmLevels: List[Entity], playerCards: List[Entity], playerTitles: List[Entity], acts: List[Act], ceremonies: List[Entity])
Bases:
DictStruct
Attributes:
-
version:
str
-
version:
valo_api.responses.error_response module
Classes:
|
|
|
- class Error(code: int | None = None, message: str | None = None, details: str | None = None)
Bases:
DictStruct
Attributes:
-
code:
Optional
[int
]
-
message:
Optional
[str
]
-
details:
Optional
[str
]
-
code:
valo_api.responses.leaderboard module
Classes:
|
|
|
|
|
- class LeaderboardPlayerV1(PlayerCardID: str, TitleID: str, IsBanned: bool, IsAnonymized: bool, puuid: str, gameName: str, tagLine: str, leaderboardRank: int, rankedRating: int, numberOfWins: int, competitiveTier: int)
Bases:
DictStruct
Attributes:
-
PlayerCardID:
str
-
TitleID:
str
-
IsBanned:
bool
-
IsAnonymized:
bool
-
puuid:
str
-
gameName:
str
-
tagLine:
str
-
leaderboardRank:
int
-
rankedRating:
int
-
numberOfWins:
int
-
competitiveTier:
int
-
PlayerCardID:
- class LeaderboardPlayerV2(PlayerCardID: str, TitleID: str, IsBanned: bool, IsAnonymized: bool, puuid: str, gameName: str, tagLine: str, leaderboardRank: int, rankedRating: int, numberOfWins: int, competitiveTier: int)
Bases:
DictStruct
Attributes:
-
PlayerCardID:
str
-
TitleID:
str
-
IsBanned:
bool
-
IsAnonymized:
bool
-
puuid:
str
-
gameName:
str
-
tagLine:
str
-
leaderboardRank:
int
-
rankedRating:
int
-
numberOfWins:
int
-
competitiveTier:
int
-
PlayerCardID:
- class LeaderboardV2(total_players: int, radiant_threshold: int, immortal_3_threshold: int, immortal_2_threshold: int, immortal_1_threshold: int, players: List[LeaderboardPlayerV2 | None], last_update: int | None = None, next_update: int | None = None)
Bases:
DictStruct
Attributes:
-
total_players:
int
-
radiant_threshold:
int
-
immortal_3_threshold:
int
-
immortal_2_threshold:
int
-
immortal_1_threshold:
int
-
players:
List
[Optional
[LeaderboardPlayerV2
]]
-
last_update:
Optional
[int
]
-
next_update:
Optional
[int
]
-
total_players:
valo_api.responses.lifetime_match module
Classes:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class LifetimeMatchMapV1(id: str, name: str)
Bases:
DictStruct
Attributes:
-
id:
str
-
name:
str
-
id:
- class LifetimeMatchSeasonV1(id: str, short: str)
Bases:
DictStruct
Attributes:
-
id:
str
-
short:
str
-
id:
- class LifetimeMatchMetaV1(map: LifetimeMatchMapV1, version: str, started_at: str, season: LifetimeMatchSeasonV1, cluster: str, region: str | None = None, mode: str | None = None)
Bases:
DictStruct
Attributes:
-
map:
LifetimeMatchMapV1
-
version:
str
-
started_at:
str
-
season:
LifetimeMatchSeasonV1
-
cluster:
str
-
region:
Optional
[str
]
-
mode:
Optional
[str
]
-
map:
- class LifetimeMatchCharacterV1(id: str, name: str)
Bases:
DictStruct
Attributes:
-
id:
str
-
name:
str
-
id:
- class LifetimeMatchShotsV1(head: int, body: int, leg: int)
Bases:
DictStruct
Attributes:
-
head:
int
-
body:
int
-
leg:
int
-
head:
- class LifetimeMatchDamageV1(made: int, received: int)
Bases:
DictStruct
Attributes:
-
made:
int
-
received:
int
-
made:
- class LifetimeMatchStatsV1(puuid: str, team: str, level: int, character: LifetimeMatchCharacterV1, tier: int, score: int, kills: int, deaths: int, assists: int, shots: LifetimeMatchShotsV1, damage: LifetimeMatchDamageV1)
Bases:
DictStruct
Attributes:
-
puuid:
str
-
team:
str
-
level:
int
-
character:
LifetimeMatchCharacterV1
-
tier:
int
-
score:
int
-
kills:
int
-
deaths:
int
-
assists:
int
-
shots:
LifetimeMatchShotsV1
-
damage:
LifetimeMatchDamageV1
-
puuid:
- class LifetimeMatchTeamsV1(blue: int | None = None, red: int | None = None)
Bases:
DictStruct
Attributes:
-
blue:
Optional
[int
]
-
red:
Optional
[int
]
-
blue:
- class LifetimeMatchV1(meta: LifetimeMatchMetaV1, stats: LifetimeMatchStatsV1, teams: LifetimeMatchTeamsV1)
Bases:
DictStruct
Attributes:
-
meta:
LifetimeMatchMetaV1
-
stats:
LifetimeMatchStatsV1
-
teams:
LifetimeMatchTeamsV1
-
meta:
valo_api.responses.match_details_raw module
Classes:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class MatchInfoRaw(matchId: str, mapId: str, gamePodId: str, gameLoopZone: str, gameServerAddress: str, gameVersion: str, gameLengthMillis: int, gameStartMillis: int, provisioningFlowID: str, isCompleted: bool, customGameName: str, forcePostProcessing: bool, queueID: str, gameMode: str, isRanked: bool, isMatchSampled: bool, seasonId: str, completionState: str, platformType: str, partyRRPenalties: Dict[str, float], shouldMatchDisablePenalties: bool | None = None)
Bases:
DictStruct
Attributes:
-
matchId:
str
-
mapId:
str
-
gamePodId:
str
-
gameLoopZone:
str
-
gameServerAddress:
str
-
gameVersion:
str
-
gameLengthMillis:
int
-
gameStartMillis:
int
-
provisioningFlowID:
str
-
isCompleted:
bool
-
customGameName:
str
-
forcePostProcessing:
bool
-
queueID:
str
-
gameMode:
str
-
isRanked:
bool
-
isMatchSampled:
bool
-
seasonId:
str
-
completionState:
str
-
platformType:
str
-
partyRRPenalties:
Dict
[str
,float
]
-
shouldMatchDisablePenalties:
Optional
[bool
]
-
matchId:
- class PlayerPlatformInfoRaw(platformType: str, platformOS: str, platformOSVersion: str, platformChipset: str)
Bases:
DictStruct
Attributes:
-
platformType:
str
-
platformOS:
str
-
platformOSVersion:
str
-
platformChipset:
str
-
platformType:
- class PlayerAbilityCastsRaw(grenadeCasts: int, ability1Casts: int, ability2Casts: int, ultimateCasts: int)
Bases:
DictStruct
Attributes:
-
grenadeCasts:
int
-
ability1Casts:
int
-
ability2Casts:
int
-
ultimateCasts:
int
-
grenadeCasts:
- class PlayerStatsRaw(score: int, roundsPlayed: int, kills: int, deaths: int, assists: int, playtimeMillis: int, abilityCasts: PlayerAbilityCastsRaw | None = None)
Bases:
DictStruct
Attributes:
-
score:
int
-
roundsPlayed:
int
-
kills:
int
-
deaths:
int
-
assists:
int
-
playtimeMillis:
int
-
abilityCasts:
Optional
[PlayerAbilityCastsRaw
]
-
score:
- class PlayerRoundDamageRaw(round: int, receiver: str, damage: int)
Bases:
DictStruct
Attributes:
-
round:
int
-
receiver:
str
-
damage:
int
-
round:
- class PlayerBehaviorFactorsRaw(afkRounds: float, damageParticipationOutgoing: int | None = None, friendlyFireIncoming: int | None = None, friendlyFireOutgoing: float | None = None, stayedInSpawnRounds: float | None = None)
Bases:
DictStruct
Attributes:
-
afkRounds:
float
-
damageParticipationOutgoing:
Optional
[int
]
-
friendlyFireIncoming:
Optional
[int
]
-
friendlyFireOutgoing:
Optional
[float
]
-
stayedInSpawnRounds:
Optional
[float
]
-
afkRounds:
- class PlayerBasicMovementRaw(idleTimeMillis: int, objectiveCompleteTimeMillis: int)
Bases:
DictStruct
Attributes:
-
idleTimeMillis:
int
-
objectiveCompleteTimeMillis:
int
-
idleTimeMillis:
- class PlayerBasicGunSkillRaw(idleTimeMillis: int, objectiveCompleteTimeMillis: int)
Bases:
DictStruct
Attributes:
-
idleTimeMillis:
int
-
objectiveCompleteTimeMillis:
int
-
idleTimeMillis:
- class PlayerAdaptiveBotsRaw(idleTimeMillis: int, objectiveCompleteTimeMillis: int, adaptiveBotAverageDurationMillisAllAttempts: int, adaptiveBotAverageDurationMillisFirstAttempt: int, killDetailsFirstAttempt: dict | None)
Bases:
DictStruct
Attributes:
-
idleTimeMillis:
int
-
objectiveCompleteTimeMillis:
int
-
adaptiveBotAverageDurationMillisAllAttempts:
int
-
adaptiveBotAverageDurationMillisFirstAttempt:
int
-
killDetailsFirstAttempt:
Optional
[dict
]
-
idleTimeMillis:
- class PlayerAbilityRaw(idleTimeMillis: int, objectiveCompleteTimeMillis: int)
Bases:
DictStruct
Attributes:
-
idleTimeMillis:
int
-
objectiveCompleteTimeMillis:
int
-
idleTimeMillis:
- class PlayerBombPlantRaw(idleTimeMillis: int, objectiveCompleteTimeMillis: int)
Bases:
DictStruct
Attributes:
-
idleTimeMillis:
int
-
objectiveCompleteTimeMillis:
int
-
idleTimeMillis:
- class PlayerDefendBombSiteRaw(idleTimeMillis: int, objectiveCompleteTimeMillis: int, success: bool)
Bases:
DictStruct
Attributes:
-
idleTimeMillis:
int
-
objectiveCompleteTimeMillis:
int
-
success:
bool
-
idleTimeMillis:
- class PlayerSettingStatusRaw(isMouseSensitivityDefault: bool, isCrosshairDefault: bool)
Bases:
DictStruct
Attributes:
-
isMouseSensitivityDefault:
bool
-
isCrosshairDefault:
bool
-
isMouseSensitivityDefault:
- class PlayerExperienceDetailsRaw(basicMovement: PlayerBasicMovementRaw, basicGunSkill: PlayerBasicGunSkillRaw, adaptiveBots: PlayerAdaptiveBotsRaw, ability: PlayerAbilityRaw, bombPlant: PlayerBombPlantRaw, defendBombSite: PlayerDefendBombSiteRaw, settingStatus: PlayerSettingStatusRaw)
Bases:
DictStruct
Attributes:
-
basicMovement:
PlayerBasicMovementRaw
-
basicGunSkill:
PlayerBasicGunSkillRaw
-
adaptiveBots:
PlayerAdaptiveBotsRaw
-
ability:
PlayerAbilityRaw
-
bombPlant:
PlayerBombPlantRaw
-
defendBombSite:
PlayerDefendBombSiteRaw
-
settingStatus:
PlayerSettingStatusRaw
-
basicMovement:
- class MatchPlayersRaw(subject: str, gameName: str, tagLine: str, platformInfo: PlayerPlatformInfoRaw, teamId: str, partyId: str, characterId: str, stats: PlayerStatsRaw, competitiveTier: int, playerCard: str, playerTitle: str, accountLevel: int, behaviorFactors: PlayerBehaviorFactorsRaw, newPlayerExperienceDetails: PlayerExperienceDetailsRaw, roundDamage: List[PlayerRoundDamageRaw] | None = None, sessionPlaytimeMinutes: int | None = None)
Bases:
DictStruct
Attributes:
-
subject:
str
-
gameName:
str
-
tagLine:
str
-
platformInfo:
PlayerPlatformInfoRaw
-
teamId:
str
-
partyId:
str
-
characterId:
str
-
stats:
PlayerStatsRaw
-
competitiveTier:
int
-
playerCard:
str
-
playerTitle:
str
-
accountLevel:
int
-
behaviorFactors:
PlayerBehaviorFactorsRaw
-
newPlayerExperienceDetails:
PlayerExperienceDetailsRaw
-
roundDamage:
Optional
[List
[PlayerRoundDamageRaw
]]
-
sessionPlaytimeMinutes:
Optional
[int
]
-
subject:
- class MatchTeamRaw(teamId: str, won: bool, roundsPlayed: int, numPoints: int)
Bases:
DictStruct
Attributes:
-
teamId:
str
-
won:
bool
-
roundsPlayed:
int
-
numPoints:
int
-
teamId:
- class PlayerLocationsRaw(subject: str, viewRadians: float, location: Location)
Bases:
DictStruct
Attributes:
-
subject:
str
-
viewRadians:
float
-
subject:
- class KillFinishingDamageRaw(damageType: str, damageItem: str, isSecondaryFireMode: bool)
Bases:
DictStruct
Attributes:
-
damageType:
str
-
damageItem:
str
-
isSecondaryFireMode:
bool
-
damageType:
- class PlayerKillsRaw(gameTime: int, roundTime: int, killer: str, victim: str, victimLocation: Location, assistants: List[str], playerLocations: List[PlayerLocationsRaw], finishingDamage: KillFinishingDamageRaw)
Bases:
DictStruct
Attributes:
-
gameTime:
int
-
roundTime:
int
-
killer:
str
-
victim:
str
-
assistants:
List
[str
]
-
playerLocations:
List
[PlayerLocationsRaw
]
-
finishingDamage:
KillFinishingDamageRaw
-
gameTime:
- class PlayerDamageRaw(receiver: str, damage: int, legshots: int, bodyshots: int, headshots: int)
Bases:
DictStruct
Attributes:
-
receiver:
str
-
damage:
int
-
legshots:
int
-
bodyshots:
int
-
headshots:
int
-
receiver:
- class PlayerEconomyRaw(loadoutValue: int, weapon: str, armor: str, remaining: int, spent: int, subject: str | None = None)
Bases:
DictStruct
Attributes:
-
loadoutValue:
int
-
weapon:
str
-
armor:
str
-
remaining:
int
-
spent:
int
-
subject:
Optional
[str
]
-
loadoutValue:
- class PlayerAbilityEffectsRaw(grenadeEffects: dict | None, ability1Effects: dict | None, ability2Effects: dict | None, ultimateEffects: dict | None)
Bases:
DictStruct
Attributes:
-
grenadeEffects:
Optional
[dict
]
-
ability1Effects:
Optional
[dict
]
-
ability2Effects:
Optional
[dict
]
-
ultimateEffects:
Optional
[dict
]
-
grenadeEffects:
- class RoundPlayerStatsRaw(subject: str, kills: List[PlayerKillsRaw], damage: List[PlayerDamageRaw], score: int, economy: PlayerEconomyRaw, ability: PlayerAbilityEffectsRaw, wasAfk: bool, wasPenalized: bool, stayedInSpawn: bool)
Bases:
DictStruct
Attributes:
-
subject:
str
-
kills:
List
[PlayerKillsRaw
]
-
damage:
List
[PlayerDamageRaw
]
-
score:
int
-
economy:
PlayerEconomyRaw
-
ability:
PlayerAbilityEffectsRaw
-
wasAfk:
bool
-
wasPenalized:
bool
-
stayedInSpawn:
bool
-
subject:
- class PlayerScoreRaw(subject: str, score: int)
Bases:
DictStruct
Attributes:
-
subject:
str
-
score:
int
-
subject:
- class MatchRoundResultsRaw(roundNum: int, roundResult: str, roundCeremony: str, winningTeam: str, plantRoundTime: int, plantLocation: Location, plantSite: str, defuseRoundTime: int, defuseLocation: Location, playerStats: List[RoundPlayerStatsRaw], roundResultCode: str, bombPlanter: str | None = None, bombDefuser: str | None = None, playerEconomies: List[PlayerEconomyRaw] | None = None, playerScores: List[PlayerScoreRaw] | None = None, plantPlayerLocations: List[PlayerLocationsRaw] | None = None, defusePlayerLocations: List[PlayerLocationsRaw] | None = None)
Bases:
DictStruct
Attributes:
-
roundNum:
int
-
roundResult:
str
-
roundCeremony:
str
-
winningTeam:
str
-
plantRoundTime:
int
-
plantSite:
str
-
defuseRoundTime:
int
-
playerStats:
List
[RoundPlayerStatsRaw
]
-
roundResultCode:
str
-
bombPlanter:
Optional
[str
]
-
bombDefuser:
Optional
[str
]
-
playerEconomies:
Optional
[List
[PlayerEconomyRaw
]]
-
playerScores:
Optional
[List
[PlayerScoreRaw
]]
-
plantPlayerLocations:
Optional
[List
[PlayerLocationsRaw
]]
-
defusePlayerLocations:
Optional
[List
[PlayerLocationsRaw
]]
-
roundNum:
- class MatchDetailsRawV1(matchInfo: MatchInfoRaw, players: List[MatchPlayersRaw], bots: List[dict], coaches: List[dict], teams: List[MatchTeamRaw], roundResults: List[MatchRoundResultsRaw] | None, kills: List[PlayerKillsRaw])
Bases:
DictStruct
Attributes:
-
matchInfo:
MatchInfoRaw
-
players:
List
[MatchPlayersRaw
]
-
bots:
List
[dict
]
-
coaches:
List
[dict
]
-
teams:
List
[MatchTeamRaw
]
-
roundResults:
Optional
[List
[MatchRoundResultsRaw
]]
-
kills:
List
[PlayerKillsRaw
]
-
matchInfo:
valo_api.responses.match_history module
Classes:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class MatchMetadataV3(map: str, game_version: str, game_length: int, game_start: int, game_start_patched: str, rounds_played: int, mode: str, season_id: str, platform: str, matchid: str, region: str, cluster: str, queue: str)
Bases:
DictStruct
Attributes:
-
map:
str
-
game_version:
str
-
game_length:
int
-
game_start:
int
-
game_start_patched:
str
-
rounds_played:
int
-
mode:
str
-
season_id:
str
-
platform:
str
-
matchid:
str
-
region:
str
-
cluster:
str
-
queue:
str
-
map:
- class MatchPlayerSessionPlaytimeV3(minutes: int | None = None, seconds: int | None = None, milliseconds: int | None = None)
Bases:
DictStruct
Attributes:
-
minutes:
Optional
[int
]
-
seconds:
Optional
[int
]
-
milliseconds:
Optional
[int
]
-
minutes:
- class MatchFriendlyFireV3(incoming: float | None = None, outgoing: float | None = None)
Bases:
DictStruct
Attributes:
-
incoming:
Optional
[float
]
-
outgoing:
Optional
[float
]
-
incoming:
- class MatchPlayerBehaviorV3(afk_rounds: float, friendly_fire: MatchFriendlyFireV3, rounds_in_spawn: float | None = None)
Bases:
DictStruct
Attributes:
-
afk_rounds:
float
-
friendly_fire:
MatchFriendlyFireV3
-
rounds_in_spawn:
Optional
[float
]
-
afk_rounds:
- class MatchPlayerOSV3(name: str, version: str)
Bases:
DictStruct
Attributes:
-
name:
str
-
version:
str
-
name:
- class MatchPlayerPlatformV3(type: str, os: MatchPlayerOSV3)
Bases:
DictStruct
Attributes:
-
type:
str
-
os:
MatchPlayerOSV3
-
type:
- class MatchPlayerAbilityCastsV3(c_cast: int | None = None, q_cast: int | None = None, e_cast: int | None = None, x_cast: int | None = None)
Bases:
DictStruct
Attributes:
-
c_cast:
Optional
[int
]
-
q_cast:
Optional
[int
]
-
e_cast:
Optional
[int
]
-
x_cast:
Optional
[int
]
-
c_cast:
- class MatchPlayerAbilityCasts2V3(c_casts: int | None = None, q_casts: int | None = None, e_cast: int | None = None, x_cast: int | None = None)
Bases:
DictStruct
Attributes:
-
c_casts:
Optional
[int
]
-
q_casts:
Optional
[int
]
-
e_cast:
Optional
[int
]
-
x_cast:
Optional
[int
]
-
c_casts:
- class MatchPlayerAssetsCardV3(small: str, large: str, wide: str)
Bases:
DictStruct
Attributes:
-
small:
str
-
large:
str
-
wide:
str
-
small:
- class MatchPlayerAssetsAgentV3(small: str, bust: str, full: str, killfeed: str)
Bases:
DictStruct
Attributes:
-
small:
str
-
bust:
str
-
full:
str
-
killfeed:
str
-
small:
- class MatchPlayerAssetsV3(card: MatchPlayerAssetsCardV3, agent: MatchPlayerAssetsAgentV3)
Bases:
DictStruct
Attributes:
-
card:
MatchPlayerAssetsCardV3
-
agent:
MatchPlayerAssetsAgentV3
-
card:
- class MatchPlayerStatsV3(score: int, kills: int, deaths: int, assists: int, bodyshots: int | None = None, headshots: int | None = None, legshots: int | None = None)
Bases:
DictStruct
Attributes:
-
score:
int
-
kills:
int
-
deaths:
int
-
assists:
int
-
bodyshots:
Optional
[int
]
-
headshots:
Optional
[int
]
-
legshots:
Optional
[int
]
-
score:
- class MatchPlayerEconomyReportV3(overall: int, average: float)
Bases:
DictStruct
Attributes:
-
overall:
int
-
average:
float
-
overall:
- class MatchPlayerEconomyV3(spent: MatchPlayerEconomyReportV3, loadout_value: MatchPlayerEconomyReportV3)
Bases:
DictStruct
Attributes:
-
spent:
MatchPlayerEconomyReportV3
-
loadout_value:
MatchPlayerEconomyReportV3
-
spent:
- class MatchPlayerV3(puuid: str, name: str, tag: str, team: str, level: int, character: str, currenttier: int, currenttier_patched: str, player_card: str, player_title: str, party_id: str, session_playtime: MatchPlayerSessionPlaytimeV3, behavior: MatchPlayerBehaviorV3, platform: MatchPlayerPlatformV3, ability_casts: MatchPlayerAbilityCastsV3, assets: MatchPlayerAssetsV3, stats: MatchPlayerStatsV3, economy: MatchPlayerEconomyV3, damage_made: int | None = None, damage_received: int | None = None)
Bases:
DictStruct
Attributes:
-
puuid:
str
-
name:
str
-
tag:
str
-
team:
str
-
level:
int
-
character:
str
-
currenttier:
int
-
currenttier_patched:
str
-
player_card:
str
-
player_title:
str
-
party_id:
str
-
session_playtime:
MatchPlayerSessionPlaytimeV3
-
behavior:
MatchPlayerBehaviorV3
-
platform:
MatchPlayerPlatformV3
-
ability_casts:
MatchPlayerAbilityCastsV3
-
assets:
MatchPlayerAssetsV3
-
stats:
MatchPlayerStatsV3
-
economy:
MatchPlayerEconomyV3
-
damage_made:
Optional
[int
]
-
damage_received:
Optional
[int
]
-
puuid:
- class MatchPlayersV3(all_players: List[MatchPlayerV3], red: List[MatchPlayerV3], blue: List[MatchPlayerV3])
Bases:
DictStruct
Attributes:
-
all_players:
List
[MatchPlayerV3
]
-
red:
List
[MatchPlayerV3
]
-
blue:
List
[MatchPlayerV3
]
-
all_players:
- class MatchTeamV3(has_won: bool | None = None, rounds_won: int | None = None, rounds_lost: int | None = None)
Bases:
DictStruct
Attributes:
-
has_won:
Optional
[bool
]
-
rounds_won:
Optional
[int
]
-
rounds_lost:
Optional
[int
]
-
has_won:
- class MatchTeamsV3(red: MatchTeamV3, blue: MatchTeamV3)
Bases:
DictStruct
Attributes:
-
red:
MatchTeamV3
-
blue:
MatchTeamV3
-
red:
- class MatchRoundPlanterV3(puuid: str, display_name: str, team: str)
Bases:
DictStruct
Attributes:
-
puuid:
str
-
display_name:
str
-
team:
str
-
puuid:
- class MatchRoundPlayerLocationV3(player_puuid: str, player_display_name: str, player_team: str, location: Location, view_radians: float)
Bases:
DictStruct
Attributes:
-
player_puuid:
str
-
player_display_name:
str
-
player_team:
str
-
view_radians:
float
-
player_puuid:
- class MatchRoundPlantEventV3(plant_location: Location | None = None, planted_by: MatchRoundPlanterV3 | None = None, plant_site: str | None = None, plant_time_in_round: int | None = None, player_locations_on_plant: List[MatchRoundPlayerLocationV3] | None = None)
Bases:
DictStruct
Attributes:
-
planted_by:
Optional
[MatchRoundPlanterV3
]
-
plant_site:
Optional
[str
]
-
plant_time_in_round:
Optional
[int
]
-
player_locations_on_plant:
Optional
[List
[MatchRoundPlayerLocationV3
]]
-
planted_by:
- class MatchRoundDefuseEventV3(defuse_location: Location | None = None, defused_by: MatchRoundPlanterV3 | None = None, defuse_time_in_round: int | None = None, player_locations_on_defuse: List[MatchRoundPlayerLocationV3] | None = None)
Bases:
DictStruct
Attributes:
-
defused_by:
Optional
[MatchRoundPlanterV3
]
-
defuse_time_in_round:
Optional
[int
]
-
player_locations_on_defuse:
Optional
[List
[MatchRoundPlayerLocationV3
]]
-
defused_by:
- class MatchRoundDamageEventV3(receiver_puuid: str, receiver_display_name: str, receiver_team: str, bodyshots: int, damage: int, headshots: int, legshots: int)
Bases:
DictStruct
Attributes:
-
receiver_puuid:
str
-
receiver_display_name:
str
-
receiver_team:
str
-
bodyshots:
int
-
damage:
int
-
headshots:
int
-
legshots:
int
-
receiver_puuid:
- class WeaponAssets(display_icon: str | None = None, killfeed_icon: str | None = None)
Bases:
DictStruct
Attributes:
-
display_icon:
Optional
[str
]
-
killfeed_icon:
Optional
[str
]
-
display_icon:
- class MatchRoundAssistantV3(assistant_puuid: str, assistant_display_name: str, assistant_team: str)
Bases:
DictStruct
Attributes:
-
assistant_puuid:
str
-
assistant_display_name:
str
-
assistant_team:
str
-
assistant_puuid:
- class MatchRoundKillEventV3(kill_time_in_round: int, kill_time_in_match: int, victim_puuid: str, victim_display_name: str, victim_team: str, victim_death_location: Location, damage_weapon_id: str, damage_weapon_assets: WeaponAssets, secondary_fire_mode: bool, player_locations_on_kill: List[MatchRoundPlayerLocationV3], assistants: List[MatchRoundAssistantV3], killer_puuid: str | None = None, killer_display_name: str | None = None, killer_team: str | None = None, damage_weapon_name: str | None = None)
Bases:
DictStruct
Attributes:
-
kill_time_in_round:
int
-
kill_time_in_match:
int
-
victim_puuid:
str
-
victim_display_name:
str
-
victim_team:
str
-
damage_weapon_id:
str
-
damage_weapon_assets:
WeaponAssets
-
secondary_fire_mode:
bool
-
player_locations_on_kill:
List
[MatchRoundPlayerLocationV3
]
-
assistants:
List
[MatchRoundAssistantV3
]
-
killer_puuid:
Optional
[str
]
-
killer_display_name:
Optional
[str
]
-
killer_team:
Optional
[str
]
-
damage_weapon_name:
Optional
[str
]
-
kill_time_in_round:
- class Weapon(assets: WeaponAssets, id: str | None = None, name: str | None = None)
Bases:
DictStruct
Attributes:
-
assets:
WeaponAssets
-
id:
Optional
[str
]
-
name:
Optional
[str
]
-
assets:
- class Armor(assets: WeaponAssets, id: str | None = None, name: str | None = None)
Bases:
Weapon
- class MatchPlayerEconomyFullV3(loadout_value: int, weapon: Weapon, armor: Armor, remaining: int, spent: int)
Bases:
DictStruct
Attributes:
-
loadout_value:
int
-
remaining:
int
-
spent:
int
-
loadout_value:
- class MatchRoundPlayerStatsV3(ability_casts: MatchPlayerAbilityCasts2V3, player_puuid: str, player_display_name: str, player_team: str, damage_events: List[MatchRoundDamageEventV3], damage: int, bodyshots: int, headshots: int, legshots: int, kill_events: List[MatchRoundKillEventV3], kills: int, score: int, economy: MatchPlayerEconomyFullV3, was_afk: bool, was_penalized: bool, stayed_in_spawn: bool)
Bases:
DictStruct
Attributes:
-
ability_casts:
MatchPlayerAbilityCasts2V3
-
player_puuid:
str
-
player_display_name:
str
-
player_team:
str
-
damage_events:
List
[MatchRoundDamageEventV3
]
-
damage:
int
-
bodyshots:
int
-
headshots:
int
-
legshots:
int
-
kill_events:
List
[MatchRoundKillEventV3
]
-
kills:
int
-
score:
int
-
economy:
MatchPlayerEconomyFullV3
-
was_afk:
bool
-
was_penalized:
bool
-
stayed_in_spawn:
bool
-
ability_casts:
- class MatchRoundV3(winning_team: str, end_type: str, bomb_planted: bool, bomb_defused: bool, plant_events: MatchRoundPlantEventV3, defuse_events: MatchRoundDefuseEventV3, player_stats: List[MatchRoundPlayerStatsV3])
Bases:
DictStruct
Attributes:
-
winning_team:
str
-
end_type:
str
-
bomb_planted:
bool
-
bomb_defused:
bool
-
plant_events:
MatchRoundPlantEventV3
-
defuse_events:
MatchRoundDefuseEventV3
-
player_stats:
List
[MatchRoundPlayerStatsV3
]
-
winning_team:
- class MatchHistoryPointV3(metadata: MatchMetadataV3, players: MatchPlayersV3, teams: MatchTeamsV3, rounds: List[MatchRoundV3], kills: List[MatchRoundKillEventV3])
Bases:
DictStruct
Attributes:
-
metadata:
MatchMetadataV3
-
players:
MatchPlayersV3
-
teams:
MatchTeamsV3
-
rounds:
List
[MatchRoundV3
]
-
kills:
List
[MatchRoundKillEventV3
]
-
metadata:
valo_api.responses.match_history_raw module
Classes:
|
|
|
- class MatchRaw(MatchID: str, GameStartTime: int, QueueID: str)
Bases:
DictStruct
Attributes:
-
MatchID:
str
-
GameStartTime:
int
-
QueueID:
str
-
MatchID:
valo_api.responses.mmr_details module
Classes:
|
|
|
|
|
|
|
|
|
|
|
- class MMRDetailsV1(name: str, tag: str, elo: int, old: bool, currenttier: int | None = None, currenttierpatched: str | None = None, ranking_in_tier: int | None = None, mmr_change_to_last_game: int | None = None)
Bases:
DictStruct
Attributes:
-
name:
str
-
tag:
str
-
elo:
int
-
old:
bool
-
currenttier:
Optional
[int
]
-
currenttierpatched:
Optional
[str
]
-
ranking_in_tier:
Optional
[int
]
-
mmr_change_to_last_game:
Optional
[int
]
-
name:
- class CurrentDataV2(old: bool, currenttier: int | None = None, currenttierpatched: str | None = None, ranking_in_tier: int | None = None, mmr_change_to_last_game: int | None = None, elo: int | None = None, games_needed_for_rating: int | None = None)
Bases:
DictStruct
Attributes:
-
old:
bool
-
currenttier:
Optional
[int
]
-
currenttierpatched:
Optional
[str
]
-
ranking_in_tier:
Optional
[int
]
-
mmr_change_to_last_game:
Optional
[int
]
-
elo:
Optional
[int
]
-
games_needed_for_rating:
Optional
[int
]
-
old:
- class HighestRankV2(old: bool, tier: int, patched_tier: str, season: str | None = None)
Bases:
DictStruct
Attributes:
-
old:
bool
-
tier:
int
-
patched_tier:
str
-
season:
Optional
[str
]
-
old:
- class ActRankWinV2(patched_tier: str, tier: int)
Bases:
DictStruct
Attributes:
-
patched_tier:
str
-
tier:
int
-
patched_tier:
- class SeasonDataV2(wins: int | None = None, number_of_games: int | None = None, final_rank: int | None = None, final_rank_patched: str | None = None, act_rank_wins: List[ActRankWinV2] | None = None, old: bool | None = None, error: str | None = None)
Bases:
DictStruct
Attributes:
-
wins:
Optional
[int
]
-
number_of_games:
Optional
[int
]
-
final_rank:
Optional
[int
]
-
final_rank_patched:
Optional
[str
]
-
act_rank_wins:
Optional
[List
[ActRankWinV2
]]
-
old:
Optional
[bool
]
-
error:
Optional
[str
]
-
wins:
- class MMRDetailsV2(name: str, tag: str, current_data: CurrentDataV2, highest_rank: HighestRankV2, by_season: Dict[str, SeasonDataV2])
Bases:
DictStruct
Attributes:
-
name:
str
-
tag:
str
-
current_data:
CurrentDataV2
-
highest_rank:
HighestRankV2
-
by_season:
Dict
[str
,SeasonDataV2
]
-
name:
valo_api.responses.mmr_history module
Classes:
|
|
|
|
|
- class MMRHistoryPointImagesV1(small: str | None = None, large: str | None = None, triangle_down: str | None = None, triangle_up: str | None = None)
Bases:
DictStruct
Attributes:
-
small:
Optional
[str
]
-
large:
Optional
[str
]
-
triangle_down:
Optional
[str
]
-
triangle_up:
Optional
[str
]
-
small:
- class MMRHistoryPointMapV1(name: str, id: str)
Bases:
DictStruct
Attributes:
-
name:
str
-
id:
str
-
name:
- class MMRHistoryPointV1(currenttier: int, currenttierpatched: str, images: MMRHistoryPointImagesV1, match_id: str, map: MMRHistoryPointMapV1, season_id: str, ranking_in_tier: int, mmr_change_to_last_game: int, elo: int, date: str, date_raw: int)
Bases:
DictStruct
Attributes:
-
currenttier:
int
-
currenttierpatched:
str
-
images:
MMRHistoryPointImagesV1
-
match_id:
str
-
season_id:
str
-
ranking_in_tier:
int
-
mmr_change_to_last_game:
int
-
elo:
int
-
date:
str
-
date_raw:
int
-
currenttier:
valo_api.responses.mmr_raw module
Classes:
|
|
|
|
|
|
|
- class SeasonInfoRaw(SeasonID: str, NumberOfWins: int, NumberOfWinsWithPlacements: int, NumberOfGames: int, Rank: int, CapstoneWins: int, LeaderboardRank: int, CompetitiveTier: int, RankedRating: int, GamesNeededForRating: int, TotalWinsNeededForRank: int, WinsByTier: Dict[str, int] | None = None)
Bases:
DictStruct
Attributes:
-
SeasonID:
str
-
NumberOfWins:
int
-
NumberOfWinsWithPlacements:
int
-
NumberOfGames:
int
-
Rank:
int
-
CapstoneWins:
int
-
LeaderboardRank:
int
-
CompetitiveTier:
int
-
RankedRating:
int
-
GamesNeededForRating:
int
-
TotalWinsNeededForRank:
int
-
WinsByTier:
Optional
[Dict
[str
,int
]]
-
SeasonID:
- class QueueSkill(TotalGamesNeededForRating: int, TotalGamesNeededForLeaderboard: int, CurrentSeasonGamesNeededForRating: int, SeasonalInfoBySeasonID: Dict[str, SeasonInfoRaw] | None)
Bases:
DictStruct
Attributes:
-
TotalGamesNeededForRating:
int
-
TotalGamesNeededForLeaderboard:
int
-
CurrentSeasonGamesNeededForRating:
int
-
SeasonalInfoBySeasonID:
Optional
[Dict
[str
,SeasonInfoRaw
]]
-
TotalGamesNeededForRating:
- class QueueSkills(competitive: QueueSkill | None = None, custom: QueueSkill | None = None, deathmatch: QueueSkill | None = None, onefa: QueueSkill | None = None, seeding: QueueSkill | None = None, spikerush: QueueSkill | None = None, unrated: QueueSkill | None = None)
Bases:
DictStruct
Attributes:
-
competitive:
Optional
[QueueSkill
]
-
custom:
Optional
[QueueSkill
]
-
deathmatch:
Optional
[QueueSkill
]
-
onefa:
Optional
[QueueSkill
]
-
seeding:
Optional
[QueueSkill
]
-
spikerush:
Optional
[QueueSkill
]
-
unrated:
Optional
[QueueSkill
]
-
competitive:
- class MMRRawV1(Version: int, Subject: str, NewPlayerExperienceFinished: bool, QueueSkills: QueueSkills, LatestCompetitiveUpdate: CompetitiveMatchRaw | None, IsLeaderboardAnonymized: bool, IsActRankBadgeHidden: bool)
Bases:
DictStruct
Attributes:
-
Version:
int
-
Subject:
str
-
NewPlayerExperienceFinished:
bool
-
QueueSkills:
QueueSkills
-
LatestCompetitiveUpdate:
Optional
[CompetitiveMatchRaw
]
-
IsLeaderboardAnonymized:
bool
-
IsActRankBadgeHidden:
bool
-
Version:
valo_api.responses.status module
Classes:
|
|
|
|
|
|
|
- class MaintenanceStatusTitleV1(locale: str, content: str)
Bases:
DictStruct
Attributes:
-
locale:
str
-
content:
str
-
locale:
- class MaintenanceUpdateV1(publish_locations: List[str], updated_at: str, created_at: str, id: int, publish: bool, translations: List[MaintenanceStatusTitleV1], author: str | None = None)
Bases:
DictStruct
Attributes:
-
publish_locations:
List
[str
]
-
updated_at:
str
-
created_at:
str
-
id:
int
-
publish:
bool
-
translations:
List
[MaintenanceStatusTitleV1
]
-
author:
Optional
[str
]
-
publish_locations:
- class MaintenancePointV1(updated_at: str | None, created_at: str | None, archive_at: str | None, titles: List[MaintenanceStatusTitleV1], maintenance_status: str | None, id: int, incident_severity: str | None, updates: List[MaintenanceUpdateV1], platforms: List[str])
Bases:
DictStruct
Attributes:
-
updated_at:
Optional
[str
]
-
created_at:
Optional
[str
]
-
archive_at:
Optional
[str
]
-
titles:
List
[MaintenanceStatusTitleV1
]
-
maintenance_status:
Optional
[str
]
-
id:
int
-
incident_severity:
Optional
[str
]
-
updates:
List
[MaintenanceUpdateV1
]
-
platforms:
List
[str
]
-
updated_at:
- class StatusV1(maintenances: List[MaintenancePointV1], incidents: List[MaintenancePointV1])
Bases:
DictStruct
Attributes:
-
maintenances:
List
[MaintenancePointV1
]
-
incidents:
List
[MaintenancePointV1
]
-
maintenances:
valo_api.responses.store_featured module
Classes:
|
|
|
|
|
|
|
|
|
|
|
|
|
- class BundleItemInfoV1(ItemTypeID: str, ItemID: str, Amount: int)
Bases:
DictStruct
Attributes:
-
ItemTypeID:
str
-
ItemID:
str
-
Amount:
int
-
ItemTypeID:
- class BundleItemV1(Item: BundleItemInfoV1, BasePrice: int, CurrencyID: str, DiscountPercent: float, DiscountedPrice: int, IsPromoItem: bool)
Bases:
DictStruct
Attributes:
-
Item:
BundleItemInfoV1
-
BasePrice:
int
-
CurrencyID:
str
-
DiscountPercent:
float
-
DiscountedPrice:
int
-
IsPromoItem:
bool
-
Item:
- class BundleItemV2(uuid: str, name: str, type: str, amount: int, discount_percent: float, base_price: int, discounted_price: int, promo_item: bool, image: str | None = None)
Bases:
DictStruct
Attributes:
-
uuid:
str
-
name:
str
-
type:
str
-
amount:
int
-
discount_percent:
float
-
base_price:
int
-
discounted_price:
int
-
promo_item:
bool
-
image:
Optional
[str
]
-
uuid:
- class BundleV1(ID: str, DataAssetID: str, CurrencyID: str, Items: List[BundleItemV1], DurationRemainingInSeconds: int, WholesaleOnly: bool)
Bases:
DictStruct
Attributes:
-
ID:
str
-
DataAssetID:
str
-
CurrencyID:
str
-
Items:
List
[BundleItemV1
]
-
DurationRemainingInSeconds:
int
-
WholesaleOnly:
bool
-
ID:
- class BundleV2(bundle_uuid: str, bundle_price: int, items: List[BundleItemV2], seconds_remaining: int, expires_at: str, whole_sale_only: bool)
Bases:
DictStruct
Attributes:
-
bundle_uuid:
str
-
bundle_price:
int
-
items:
List
[BundleItemV2
]
-
seconds_remaining:
int
-
expires_at:
str
-
whole_sale_only:
bool
-
bundle_uuid:
- class FeaturedBundleV1(Bundle: BundleV1, Bundles: List[BundleV1], BundleRemainingDurationInSeconds: int)
Bases:
DictStruct
Attributes:
-
BundleRemainingDurationInSeconds:
int
-
BundleRemainingDurationInSeconds:
- class StoreFeaturedV1(FeaturedBundle: FeaturedBundleV1)
Bases:
DictStruct
Attributes:
-
FeaturedBundle:
FeaturedBundleV1
-
FeaturedBundle:
valo_api.responses.store_offers module
Classes:
|
|
|
|
|
|
|
|
|
|
|
|
|
- class RewardInfoV1(ItemTypeID: str, ItemID: str, Quantity: int)
Bases:
DictStruct
Attributes:
-
ItemTypeID:
str
-
ItemID:
str
-
Quantity:
int
-
ItemTypeID:
- class OfferV1(OfferID: str, IsDirectPurchase: bool, StartDate: str, Cost: Dict[str, int], Rewards: List[RewardInfoV1])
Bases:
DictStruct
Attributes:
-
OfferID:
str
-
IsDirectPurchase:
bool
-
StartDate:
str
-
Cost:
Dict
[str
,int
]
-
Rewards:
List
[RewardInfoV1
]
-
OfferID:
- class OfferIDsV1(OfferID: str, StorefrontItemID: str)
Bases:
DictStruct
Attributes:
-
OfferID:
str
-
StorefrontItemID:
str
-
OfferID:
- class StoreOffersV1(Offers: List[OfferV1], UpgradeCurrencyOffers: List[OfferIDsV1])
Bases:
DictStruct
Attributes:
-
UpgradeCurrencyOffers:
List
[OfferIDsV1
]
-
UpgradeCurrencyOffers:
- class ContentTierV2(name: str, dev_name: str, icon: str)
Bases:
DictStruct
Attributes:
-
name:
str
-
dev_name:
str
-
icon:
str
-
name:
- class OfferV2(offer_id: str, cost: int, name: str, type: str, icon: str | None = None, skin_id: str | None = None, content_tier: ContentTierV2 | None = None)
Bases:
DictStruct
Attributes:
-
offer_id:
str
-
cost:
int
-
name:
str
-
type:
str
-
icon:
Optional
[str
]
-
skin_id:
Optional
[str
]
-
content_tier:
Optional
[ContentTierV2
]
-
offer_id:
valo_api.responses.version_info module
Classes:
|
valo_api.responses.website module
Classes:
|