LoLSeriesService
A list of all methods in the LoLSeriesService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_lol_series | List series for the League of Legends videogame |
get_lol_series_past | List past League of Legends series |
get_lol_series_running | List running League of Legends series |
get_lol_series_upcoming | List upcoming League of Legends series |
get_lol_series
List series for the League of Legends videogame
- HTTP Method:
GET
- Endpoint:
/lol/series
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLSeries | ❌ | 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 | SearchOverLoLSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverLoLSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverLoLSeries,
SearchOverLoLSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverLoLSeriesVideogameTitle = 9;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverLoLSeries: FilterOverLoLSeries = {
beginAt: ['nisi amet'],
endAt: ['reprehen'],
id: [7],
leagueId: [2],
modifiedAt: ['Ut '],
name: ['sintmoll'],
season: ['ad aliqua in'],
slug: ['1br98fc'],
videogameTitle: [filterOverLoLSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverLoLSeries: RangeOverLoLSeries = {
beginAt: ['sint co'],
endAt: ['tempor esse co'],
id: [7],
leagueId: [3],
modifiedAt: ['E'],
name: ['eliti'],
season: ['labore exercita'],
slug: ['93mxp18t'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverLoLSeries: SearchOverLoLSeries = {
name: 'mollit p',
season: 'exerc',
slug: 'wm55',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.loLSeries.getLolSeries({
filter: filterOverLoLSeries,
range: rangeOverLoLSeries,
sort: [[]],
search: searchOverLoLSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
get_lol_series_past
List past League of Legends series
- HTTP Method:
GET
- Endpoint:
/lol/series/past
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLSeries | ❌ | 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 | SearchOverLoLSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverLoLSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverLoLSeries,
SearchOverLoLSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverLoLSeriesVideogameTitle = 9;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverLoLSeries: FilterOverLoLSeries = {
beginAt: ['nisi amet'],
endAt: ['reprehen'],
id: [7],
leagueId: [2],
modifiedAt: ['Ut '],
name: ['sintmoll'],
season: ['ad aliqua in'],
slug: ['1br98fc'],
videogameTitle: [filterOverLoLSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverLoLSeries: RangeOverLoLSeries = {
beginAt: ['sint co'],
endAt: ['tempor esse co'],
id: [7],
leagueId: [3],
modifiedAt: ['E'],
name: ['eliti'],
season: ['labore exercita'],
slug: ['93mxp18t'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverLoLSeries: SearchOverLoLSeries = {
name: 'mollit p',
season: 'exerc',
slug: 'wm55',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.loLSeries.getLolSeriesPast({
filter: filterOverLoLSeries,
range: rangeOverLoLSeries,
sort: [[]],
search: searchOverLoLSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
get_lol_series_running
List running League of Legends series
- HTTP Method:
GET
- Endpoint:
/lol/series/running
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLSeries | ❌ | 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 | SearchOverLoLSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverLoLSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverLoLSeries,
SearchOverLoLSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverLoLSeriesVideogameTitle = 9;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverLoLSeries: FilterOverLoLSeries = {
beginAt: ['nisi amet'],
endAt: ['reprehen'],
id: [7],
leagueId: [2],
modifiedAt: ['Ut '],
name: ['sintmoll'],
season: ['ad aliqua in'],
slug: ['1br98fc'],
videogameTitle: [filterOverLoLSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverLoLSeries: RangeOverLoLSeries = {
beginAt: ['sint co'],
endAt: ['tempor esse co'],
id: [7],
leagueId: [3],
modifiedAt: ['E'],
name: ['eliti'],
season: ['labore exercita'],
slug: ['93mxp18t'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverLoLSeries: SearchOverLoLSeries = {
name: 'mollit p',
season: 'exerc',
slug: 'wm55',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.loLSeries.getLolSeriesRunning({
filter: filterOverLoLSeries,
range: rangeOverLoLSeries,
sort: [[]],
search: searchOverLoLSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
get_lol_series_upcoming
List upcoming League of Legends series
- HTTP Method:
GET
- Endpoint:
/lol/series/upcoming
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverLoLSeries | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverLoLSeries | ❌ | 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 | SearchOverLoLSeries | ❌ | 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
Serie[]
Example Usage Code Snippet
import {
FilterOverLoLSeries,
OpponentType,
Page,
PandascoreClient,
RangeOverLoLSeries,
SearchOverLoLSeries,
} from 'pandascore_client';
(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});
const filterOverLoLSeriesVideogameTitle = 9;
const opponentId = 7;
const opponentType = OpponentType.PLAYER;
const filterOverLoLSeries: FilterOverLoLSeries = {
beginAt: ['nisi amet'],
endAt: ['reprehen'],
id: [7],
leagueId: [2],
modifiedAt: ['Ut '],
name: ['sintmoll'],
season: ['ad aliqua in'],
slug: ['1br98fc'],
videogameTitle: [filterOverLoLSeriesVideogameTitle],
winnerId: [opponentId],
winnerType: [opponentType],
year: [123],
};
const opponentId1 = 7;
const opponentType1 = OpponentType.PLAYER;
const rangeOverLoLSeries: RangeOverLoLSeries = {
beginAt: ['sint co'],
endAt: ['tempor esse co'],
id: [7],
leagueId: [3],
modifiedAt: ['E'],
name: ['eliti'],
season: ['labore exercita'],
slug: ['93mxp18t'],
winnerId: [opponentId1],
winnerType: [opponentType1],
year: [123],
};
const opponentType12 = OpponentType.PLAYER;
const searchOverLoLSeries: SearchOverLoLSeries = {
name: 'mollit p',
season: 'exerc',
slug: 'wm55',
winnerType: opponentType12,
};
const page = 1;
const { data } = await pandascoreClient.loLSeries.getLolSeriesUpcoming({
filter: filterOverLoLSeries,
range: rangeOverLoLSeries,
sort: [[]],
search: searchOverLoLSeries,
page: page,
perPage: 50,
});
console.log(data);
})();
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs