CounterStrikeLeaguesService
A list of all methods in the CounterStrikeLeaguesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_csgo_leagues | List Counter-Strike leagues |
get_csgo_leagues
List Counter-Strike leagues
- HTTP Method:
GET
- Endpoint:
/csgo/leagues
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCsgoLeagues | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCsgoLeagues | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverCsgoLeagues | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent 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