Skip to main content

CodmwLeaguesService

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

MethodsDescription
get_codmw_leaguesList CODMW leagues

get_codmw_leagues

List CODMW leagues

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

Parameters

NameTypeRequiredDescription
filterFilterOverCodmwLeaguesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverCodmwLeaguesOptions 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.
searchSearchOverCodmwLeaguesOptions 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 FilterOverCodmwLeagues, RangeOverCodmwLeagues, SearchOverCodmwLeagues

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCodmwLeagues(
id_=[
4
],
modified_at=[
"sunt magna"
],
name=[
"eu inc"
],
slug=[
"7pqnq"
],
url=[
"tempor sint Exc"
]
)
range=RangeOverCodmwLeagues(
id_=[
9
],
modified_at=[
"ex laboru"
],
name=[
"et consectetur "
],
slug=[
"gprmck"
],
url=[
"laboris moll"
]
)
sort=[
""
]
search=SearchOverCodmwLeagues(
name="Ut mollit",
slug="su",
url="cillum"
)
page=1

result = sdk.codmw_leagues.get_codmw_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 →