Skip to main content

Dota2LeaguesService

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

MethodsDescription
get_dota2_leaguesList Dota2 leagues

get_dota2_leagues

List Dota2 leagues

  • HTTP Method: GET
  • Endpoint: /dota2/leagues

Parameters

NameTypeRequiredDescription
filterFilterOverDota2LeaguesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverDota2LeaguesOptions 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.
searchSearchOverDota2LeaguesOptions 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 FilterOverDota2Leagues, RangeOverDota2Leagues, SearchOverDota2Leagues

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverDota2Leagues(
id_=[
3
],
modified_at=[
"proident labo"
],
name=[
"dolor proid"
],
slug=[
"_lxx"
],
url=[
"anim ea est U"
]
)
range=RangeOverDota2Leagues(
id_=[
8
],
modified_at=[
"aliqua aute"
],
name=[
"aliqua ea "
],
slug=[
"uic"
],
url=[
"in aute elit"
]
)
sort=[
""
]
search=SearchOverDota2Leagues(
name="Excepteur ip",
slug="pu97glcez",
url="dolore ipsum d"
)
page=1

result = sdk.dota2_leagues.get_dota2_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 →