Skip to main content

StarCraft2LeaguesService

A list of all methods in the StarCraft2LeaguesService service. Click on the method name to view detailed information about that method.

MethodsDescription
get_starcraft_2_leaguesList StarCraft 2 leagues

get_starcraft_2_leagues

List StarCraft 2 leagues

  • HTTP Method: GET
  • Endpoint: /starcraft-2/leagues

Parameters

NameTypeRequiredDescription
filterFilterOverStarcraft2LeaguesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverStarcraft2LeaguesOptions to select results within ranges
For more information on ranges, see docs.
sortList[any]Options to sort results
For more information on sorting, see docs.
searchSearchOverStarcraft2LeaguesOptions to search results
For more information on searching, see docs.
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
per_pageintEquivalent to page[size]

Return Type

List[League]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverStarcraft2Leagues, RangeOverStarcraft2Leagues, SearchOverStarcraft2Leagues

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverStarcraft2Leagues(
id_=[
4
],
modified_at=[
"ad"
],
name=[
"utex est"
],
slug=[
"luoez"
],
url=[
"consequat "
]
)
range=RangeOverStarcraft2Leagues(
id_=[
7
],
modified_at=[
"et ex in"
],
name=[
"consectetur e"
],
slug=[
"q"
],
url=[
"veniam ut c"
]
)
sort=[
""
]
search=SearchOverStarcraft2Leagues(
name="in ei",
slug="kb1dlt",
url="aute "
)
page=1

result = sdk.star_craft_2_leagues.get_starcraft_2_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

Start for Free →