Skip to main content

LoLMasteriesService

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

MethodsDescription
get_lol_masteriesList masteries
get_lol_masteries_lol_mastery_idGet a single mastery by ID

get_lol_masteries

List masteries

  • HTTP Method: GET
  • Endpoint: /lol/masteries

Parameters

NameTypeRequiredDescription
filterFilterOverLoLMasteriesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverLoLMasteriesOptions 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.
searchSearchOverLoLMasteriesOptions 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[LoLMastery]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverLoLMasteries, RangeOverLoLMasteries, SearchOverLoLMasteries

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverLoLMasteries(
id_=[
4
],
name=[
"sunt velit"
]
)
range=RangeOverLoLMasteries(
id_=[
3
],
name=[
"mollit pa"
]
)
sort=[
""
]
search=SearchOverLoLMasteries(
name="eiusmod"
)
page=1

result = sdk.lo_l_masteries.get_lol_masteries(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

get_lol_masteries_lol_mastery_id

Get a single mastery by ID

  • HTTP Method: GET
  • Endpoint: /lol/masteries/{lol_mastery_id}

Parameters

NameTypeRequiredDescription
lol_mastery_idintA mastery ID

Return Type

LoLMastery

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)

result = sdk.lo_l_masteries.get_lol_masteries_lol_mastery_id(lol_mastery_id=10)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →