LoLRunesService
A list of all methods in the LoLRunesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_lol_runes_reforged | List the latest version of League of Legends (reforged) runes |
get_lol_runes_reforged_paths | List the latest version of League of Legends (reforged) rune paths |
get_lol_runes_reforged_paths_lolRunePathId | Retrieve the latest version of a League of Legends (reforged) rune path by its ID |
get_lol_runes_reforged_lolRuneReforgedId | Retrieve the latest version of a League of Legends (reforged) rune by its ID |
get_lol_runes_reforged
List the latest version of League of Legends (reforged) runes
- HTTP Method:
GET
- Endpoint:
/lol/runes-reforged
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLRunesReforged | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLRunesReforged | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | any[] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverLoLRunesReforged | ❌ | 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 |
perPage | number | ❌ | Equivalent to page[size] |
Return Type
LoLRuneReforged[]
Example Usage Code Snippet
import {
FilterOverLoLRunesReforged,
Page,
PandascoreClient,
RangeOverLoLRunesReforged,
SearchOverLoLRunesReforged,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverLoLRunesReforged: FilterOverLoLRunesReforged = {
id: [9],
name: ['cillum sint'],
};
const rangeOverLoLRunesReforged: RangeOverLoLRunesReforged = {
id: [6],
name: ['cillum do'],
};
const searchOverLoLRunesReforged: SearchOverLoLRunesReforged = {
name: 'do irure ',
};
const page = 1;
const { data } = await pandascoreClient.loLRunes.getLolRunesReforged({
filter: filterOverLoLRunesReforged,
range: rangeOverLoLRunesReforged,
sort: [[]],
search: searchOverLoLRunesReforged,
page: page,
perPage: 50,
});
console.log(data);
})();
get_lol_runes_reforged_paths
List the latest version of League of Legends (reforged) rune paths
- HTTP Method:
GET
- Endpoint:
/lol/runes-reforged-paths
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLRunePaths | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLRunePaths | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | any[] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverLoLRunePaths | ❌ | 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 |
perPage | number | ❌ | Equivalent to page[size] |
Return Type
LoLRunePath[]
Example Usage Code Snippet
import {
FilterOverLoLRunePaths,
Page,
PandascoreClient,
RangeOverLoLRunePaths,
SearchOverLoLRunePaths,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverLoLRunePaths: FilterOverLoLRunePaths = {
id: [5],
name: ['occaecat esse'],
videogameVersion: [],
};
const rangeOverLoLRunePaths: RangeOverLoLRunePaths = {
id: [6],
name: ['ipsum nul'],
};
const searchOverLoLRunePaths: SearchOverLoLRunePaths = {
name: 'tempor eli',
};
const page = 1;
const { data } = await pandascoreClient.loLRunes.getLolRunesReforgedPaths({
filter: filterOverLoLRunePaths,
range: rangeOverLoLRunePaths,
sort: [[]],
search: searchOverLoLRunePaths,
page: page,
perPage: 50,
});
console.log(data);
})();
get_lol_runes_reforged_paths_lolRunePathId
Retrieve the latest version of a League of Legends (reforged) rune path by its ID
- HTTP Method:
GET
- Endpoint:
/lol/runes-reforged-paths/{lol_rune_path_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
lolRunePathId | number | ✅ | ID of the LoL rune path |
Return Type
LoLRunePath
Example Usage Code Snippet
import { PandascoreClient } from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const { data } = await pandascoreClient.loLRunes.getLolRunesReforgedPathsLolRunePathId(5);
console.log(data);
})();
get_lol_runes_reforged_lolRuneReforgedId
Retrieve the latest version of a League of Legends (reforged) rune by its ID
- HTTP Method:
GET
- Endpoint:
/lol/runes-reforged/{lol_rune_reforged_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
lolRuneReforgedId | number | ✅ | ID of the LoL rune |
Return Type
LoLRuneReforged
Example Usage Code Snippet
import { PandascoreClient } from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const { data } = await pandascoreClient.loLRunes.getLolRunesReforgedLolRuneReforgedId(7);
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs