Skip to main content

PubgLeaguesService

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

MethodsDescription
get_pubg_leaguesList PUBG leagues

get_pubg_leagues

List PUBG leagues

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

Parameters

NameTypeRequiredDescription
filterFilterOverPubgLeaguesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverPubgLeaguesOptions 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.
searchSearchOverPubgLeaguesOptions 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 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

Start for Free →