Skip to main content

OwLeaguesService

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

MethodsDescription
get_ow_leaguesList Overwatch leagues

get_ow_leagues

List Overwatch leagues

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

Parameters

NameTypeRequiredDescription
filterFilterOverOwLeaguesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverOwLeaguesOptions 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.
searchSearchOverOwLeaguesOptions 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 FilterOverOwLeagues, RangeOverOwLeagues, SearchOverOwLeagues

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverOwLeagues(
id_=[
3
],
modified_at=[
"cillum"
],
name=[
"consequat ni"
],
slug=[
"i_j01uy"
],
url=[
"ipsum"
]
)
range=RangeOverOwLeagues(
id_=[
5
],
modified_at=[
"c"
],
name=[
"laborum anim es"
],
slug=[
"cto0"
],
url=[
"cupidatat irur"
]
)
sort=[
""
]
search=SearchOverOwLeagues(
name="dolor mini",
slug="mt_2hbpfj",
url="qui exerci"
)
page=1

result = sdk.ow_leagues.get_ow_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 →