Skip to main content

CounterStrikeLeaguesService

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

MethodsDescription
get_csgo_leaguesList Counter-Strike leagues

get_csgo_leagues

List Counter-Strike leagues

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

Parameters

NameTypeRequiredDescription
filterFilterOverCsgoLeaguesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverCsgoLeaguesOptions 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.
searchSearchOverCsgoLeaguesOptions 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 FilterOverCsgoLeagues, RangeOverCsgoLeagues, SearchOverCsgoLeagues

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCsgoLeagues(
id_=[
5
],
modified_at=[
"l"
],
name=[
"nulla enim "
],
slug=[
"z072ishd"
],
url=[
"in veniam Ut"
]
)
range=RangeOverCsgoLeagues(
id_=[
4
],
modified_at=[
"su"
],
name=[
"ametnostrud n"
],
slug=[
"eufc_4tt"
],
url=[
"inea exercit"
]
)
sort=[
""
]
search=SearchOverCsgoLeagues(
name="exercitation a",
slug="i9kf",
url="irure do labor"
)
page=1

result = sdk.counter_strike_leagues.get_csgo_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 →