Player Info
Fetch basic player information - in-game name, real name, country, social media links, and aliases.
player.info(player_id) returns basic information for a player on vlr.gg.
Signature
player.info(player_id: int) -> PlayerInfoParameters
Prop
Type
Returns - PlayerInfo
Prop
Type
Examples
Basic player lookup
Fetch a player's name, real name, country, and social media handles.
import vlrdevapi
info = vlrdevapi.player.info(player_id=438)
print(f"{info.name} ({info.real_name})")
print(f"Country: {info.country}")
print(f"X: {info.x_handle}")
print(f"Twitch: {info.twitch_handle}")Check aliases
A player may have played under different names in the past. The aliases field lists all known former names.
import vlrdevapi
info = vlrdevapi.player.info(player_id=438)
aliases = info.aliases if info.aliases else ["(none)"]
print(f"{info.name} has also been known as: {', '.join(aliases)}")Curried access
Use the curried player object to access info without passing the player ID each time.
import vlrdevapi
player = vlrdevapi.player(438)
info = player.info()
print(f"{info.name} - {info.country_code.upper()}")Last updated on