LoLMasteriesService
A list of all methods in the LoLMasteriesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_lol_masteries | List masteries |
get_lol_masteries_lol_mastery_id | Get a single mastery by ID |
get_lol_masteries
List masteries
- HTTP Method:
GET
- Endpoint:
/lol/masteries
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLMasteries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLMasteries | ❌ | 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 | SearchOverLoLMasteries | ❌ | 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[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
Name | Type | Required | Description |
---|---|---|---|
lol_mastery_id | int | ✅ | A 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