LoLPlayersService
A list of all methods in the LoLPlayersService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_lol_players | List players for the League of Legends videogame |
get_lol_players
List players for the League of Legends videogame
- HTTP Method:
GET
- Endpoint:
/lol/players
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLPlayers | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLPlayers | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverLoLPlayers | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[Player]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverLoLPlayers, RangeOverLoLPlayers, SearchOverLoLPlayers
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverLoLPlayers(
active=True,
birthday=[
"quis exercita"
],
first_name=[
"enimconsec"
],
id_=[
7
],
last_name=[
"Excepte"
],
modified_at=[
"culpa"
],
name=[
"sit commodo a"
],
nationality=[
"sed aliquip ut"
],
role=[
"enim nulla"
],
slug=[
"4"
],
team_id=[
9
],
videogame_id=[
1
]
)
range=RangeOverLoLPlayers(
birthday=[
"proiden"
],
first_name=[
"esse officia m"
],
id_=[
2
],
last_name=[
"Ut lab"
],
modified_at=[
"aute do volup"
],
name=[
"nostrud"
],
nationality=[
"velit pari"
],
role=[
"exercit"
],
slug=[
"bs51gp"
]
)
sort=[
""
]
search=SearchOverLoLPlayers(
birthday="dolore",
first_name="adipi",
last_name="conse",
name="dolore",
nationality="sunt Duis",
role="animno",
slug="d-"
)
page=1
result = sdk.lo_l_players.get_lol_players(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs