StarCraftBroodWarLeaguesService
A list of all methods in the StarCraftBroodWarLeaguesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_starcraft_brood_war_leagues | List StarCraft Brood War leagues |
get_starcraft_brood_war_leagues
List StarCraft Brood War leagues
- HTTP Method:
GET
- Endpoint:
/starcraft-brood-war/leagues
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverStarcraftBroodWarLeagues | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverStarcraftBroodWarLeagues | ❌ | 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 | SearchOverStarcraftBroodWarLeagues | ❌ | 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 FilterOverStarcraftBroodWarLeagues, RangeOverStarcraftBroodWarLeagues, SearchOverStarcraftBroodWarLeagues
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverStarcraftBroodWarLeagues(
id_=[
7
],
modified_at=[
"magna "
],
name=[
"ea cu"
],
slug=[
"zf_27"
],
url=[
"cillum labore "
]
)
range=RangeOverStarcraftBroodWarLeagues(
id_=[
6
],
modified_at=[
"reprehender"
],
name=[
"sintelit"
],
slug=[
"xa9vcblu"
],
url=[
"dolore non"
]
)
sort=[
""
]
search=SearchOverStarcraftBroodWarLeagues(
name="ex dolore do",
slug="4-9",
url="nulla "
)
page=1
result = sdk.star_craft_brood_war_leagues.get_starcraft_brood_war_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