v1

latestOpenAPI 3.0.02026-07-2438875210.5 MB
Players

Get leagues for a player

List leagues for the given player. Only leagues from the player's current videogame.

ℹ️

This endpoint is available to all customers

get/players/{player_id_or_slug}/leagues

Path parameters

integer required

ID of the player

OR
string required

Unique, human-readable identifier for the player. id and slug can be used interchangeably throughout the API.

A player ID or slug

Query parameters

idinteger[]
modified_atstring[]
namestring[]
slugstring[]
urlstring[]

Options to filter results. String fields are case sensitive For more information on filtering, see docs.

idinteger[]
modified_atstring[]
namestring[]
slugstring[]
urlstring[]

Options to select results within ranges For more information on ranges, see docs.

sortstring[]

Options to sort results For more information on sorting, see docs.

namestring
slugstring
urlstring uri

Options to search results For more information on searching, see docs.

integer
OR

Pagination in the form of page=2 or page[size]=30&page[number]=2

per_pageinteger

Equivalent to page[size]

Response

A list of leagues

idinteger required
image_urlstring uri nullable required
modified_atstring date-time required
namestring required
slugstring required
urlstring uri nullable required