Skip to content

Latest commit

 

History

History
98 lines (83 loc) · 3.54 KB

File metadata and controls

98 lines (83 loc) · 3.54 KB

ValorantLeaguesService

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

Methods Description
get_valorant_leagues List Valorant leagues

get_valorant_leagues

List Valorant leagues

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

Parameters

Name Type Required Description
filter FilterOverValorantLeagues Options to filter results. String fields are case sensitive
For more information on filtering, see docs.
range RangeOverValorantLeagues 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 SearchOverValorantLeagues 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 FilterOverValorantLeagues, RangeOverValorantLeagues, SearchOverValorantLeagues

sdk = PandascoreClient(
    access_token="YOUR_ACCESS_TOKEN",
    base_url=Environment.DEFAULT.value,
    timeout=10000
)
filter=FilterOverValorantLeagues(
    id_=[
        8
    ],
    modified_at=[
        "ipsum paria"
    ],
    name=[
        "Ut do"
    ],
    slug=[
        "fx45k:"
    ],
    url=[
        "Ut eni"
    ]
)
range=RangeOverValorantLeagues(
    id_=[
        8
    ],
    modified_at=[
        "sed sint nulla"
    ],
    name=[
        "proident "
    ],
    slug=[
        "4varbaoo0"
    ],
    url=[
        "ullamco"
    ]
)
sort=[
    ""
]
search=SearchOverValorantLeagues(
    name="eiusmod",
    slug="m55gkm",
    url="non c"
)
page=1

result = sdk.valorant_leagues.get_valorant_leagues(
    filter=filter,
    range=range,
    sort=sort,
    search=search,
    page=page,
    per_page=50
)

print(result)