CSGOClient
CSGOClient
class TrackerGG.CSGO(api_key)
Handles API calls related to CS:GO.
Parameters
api_key
(str
) - TrackerGG API key
Methods
await get_profile(identifier)
Returns career stats for an CSGO player.
Raises
AssertionError
- If the response code is not 200
Return Type
CSGOProfile
await get_map_segment(identifier)
Returns the stats of the map for a CSGO player.
Raises
AssertionError
- If the response code is not 200
Return Type
List[ CSGOMapSegment
]
await get_weapon_segment(identifier)
Returns the stats of the weapon for a CSGO player.
Raises
AssertionError
- If the response code is not 200
Return Type
List[ CSGOWeaponSegment
]
await search_profile(query)
Returns search data for a CSGO player using a unique identifier.
Raises
AssertionError
- If the response code is not 200
Return Type
Union[ None, List[ CSGOQueryData
] ]
Last updated