Skip to main content

LoLSpellsService

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

MethodsDescription
get_lol_spellsList spells
get_lol_spells_lol_spell_idGet a single spell by ID

get_lol_spells

List spells

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

Parameters

NameTypeRequiredDescription
filterFilterOverLoLSpellsOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverLoLSpellsOptions 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.
searchSearchOverLoLSpellsOptions 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[LoLSpell]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverLoLSpells, RangeOverLoLSpells, SearchOverLoLSpells

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverLoLSpells(
id_=[
8
],
name=[
"laborum dolor"
],
videogame_version=""
)
range=RangeOverLoLSpells(
id_=[
2
],
name=[
"dolore com"
]
)
sort=[
""
]
search=SearchOverLoLSpells(
name="veniam ea"
)
page=1

result = sdk.lo_l_spells.get_lol_spells(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

get_lol_spells_lol_spell_id

Get a single spell by ID

  • HTTP Method: GET
  • Endpoint: /lol/spells/{lol_spell_id}

Parameters

NameTypeRequiredDescription
lol_spell_idintA spell ID

Return Type

LoLSpell

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_spells.get_lol_spells_lol_spell_id(lol_spell_id=8)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →