PubgLeaguesService
A list of all methods in the PubgLeaguesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_pubg_leagues | List PUBG leagues |
get_pubg_leagues
List PUBG leagues
- HTTP Method:
GET
- Endpoint:
/pubg/leagues
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverPubgLeagues | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverPubgLeagues | ❌ | 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 | SearchOverPubgLeagues | ❌ | 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 FilterOverPubgLeagues, RangeOverPubgLeagues, SearchOverPubgLeagues
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverPubgLeagues(
id_=[
8
],
modified_at=[
"ea"
],
name=[
"ad ex an"
],
slug=[
"j"
],
url=[
"proident adi"
]
)
range=RangeOverPubgLeagues(
id_=[
4
],
modified_at=[
"in dolore "
],
name=[
"Lorem do"
],
slug=[
"d6p5l"
],
url=[
"ut aut"
]
)
sort=[
""
]
search=SearchOverPubgLeagues(
name="officia",
slug="ue4e",
url="in eu des"
)
page=1
result = sdk.pubg_leagues.get_pubg_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