Can I get role information about a player?
Article 3222670, Status: VALIDATED
Table of Contents
❓Issue/Question
- Can I get role information about a player?
- Can I find out wich position a player plays in?
💻Environment/Context
- Lol
- Val
👌Resolution/Answer
- The information about a player's role/position is available on the Central Data API
- You need to use the
player
query and check theroles
datapoint
Query example:
query PlayerRole {
player(id: "21066") {
id
nickname
roles {
id
name
title {
name
}
}
}
}