RlLeaguesService
A list of all methods in the RlLeaguesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_rl_leagues | List RL leagues |
get_rl_leagues
List RL leagues
- HTTP Method:
GET
- Endpoint:
/rl/leagues
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverRlLeagues | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverRlLeagues | ❌ | 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 | SearchOverRlLeagues | ❌ | 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[League]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverRlLeagues, RangeOverRlLeagues, SearchOverRlLeagues
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverRlLeagues(
id_=[
7
],
modified_at=[
"ea"
],
name=[
"animea"
],
slug=[
"4p40"
],
url=[
"consectetu"
]
)
range=RangeOverRlLeagues(
id_=[
4
],
modified_at=[
"sunt do labori"
],
name=[
"ex es"
],
slug=[
"7l"
],
url=[
"aliquip cul"
]
)
sort=[
""
]
search=SearchOverRlLeagues(
name="ut consequat",
slug="no017ax",
url="do veniam"
)
page=1
result = sdk.rl_leagues.get_rl_leagues(
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