How to get information about the final state of a map/game/series?
Article 2527550, Status: VALIDATED
Table of Contents
❓Issue/Question
- How many kills were made on map X?
- How many kills were made in game X?
- How many kills were made by player X?
- How many kills were made in series X?
- How many kills were made by team X?
- Who won map X?
- Who won game N?
- Who won series?
💻Environment/Context
- Series State
- CS2, Val, LoL, Dota, R6, PubG
👌Resolution/Answer
- All cumulative information about kills based on map/game/series can be found on the Series State API
- If the information is needed for the whole stage regardless of the teams, the team based stats need to be summed together
- An example of a query that pulls team and player kill together with winning team data points for each segment, each game and series
query GetKillsPerSeriesSegment {
seriesState(id: "28") {
valid
teams {
id
won
kills
players{
id
kills
}
}
games {
sequenceNumber
teams {
id
won
kills
players {
id
kills
}
}
segments{
sequenceNumber
teams {
id
won
kills
players {
id
kills
}
}
}
}
}
}