Skip to main content

LoLStatsService

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

MethodsDescription
get_lol_matches_matchIdOrSlug_players_statsGet detailed statistics of League-of-Legends players for the given match
get_lol_players_playerIdOrSlug_statsGet detailed statistics of a given League-of-Legends player
get_lol_series_serieIdOrSlug_players_playerIdOrSlug_statsGet detailed statistics of a given League-of-Legends player for the given serie
get_lol_series_serieIdOrSlug_teams_statsGet detailed statistics of the LoL teams for the given series
get_lol_series_serieIdOrSlug_teams_teamIdOrSlug_statsGet detailed statistics of a given League-of-Legends team for the given serie
get_lol_teams_teamIdOrSlug_statsGet detailed statistics of a given League-of-Legends team
get_lol_tournaments_tournamentIdOrSlug_players_playerIdOrSlug_statsGet detailed statistics of a given League-of-Legends player for the given tournament
get_lol_tournaments_tournamentIdOrSlug_teams_teamIdOrSlug_statsGet detailed statistics of a given League-of-Legends team for the given tournament

get_lol_matches_matchIdOrSlug_players_stats

Get detailed statistics of League-of-Legends players for the given match

  • HTTP Method: GET
  • Endpoint: /lol/matches/{match_id_or_slug}/players/stats

Parameters

NameTypeRequiredDescription
matchIdOrSlugMatchIdOrSlugA match ID or slug

Return Type

LoLStatsForAllPlayersByMatch

Example Usage Code Snippet

import { MatchIdOrSlug, PandascoreClient } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN',
});

const matchIdOrSlug = 5;

const { data } = await pandascoreClient.loLStats.getLolMatchesMatchIdOrSlugPlayersStats();

console.log(data);
})();

get_lol_players_playerIdOrSlug_stats

Get detailed statistics of a given League-of-Legends player

  • HTTP Method: GET
  • Endpoint: /lol/players/{player_id_or_slug}/stats

Parameters

NameTypeRequiredDescription
playerIdOrSlugPlayerIdOrSlugA player ID or slug
gamesCountnumberThe amount of games used for the statistics.

For example if ?games_count=5, it would show the statistics for the most recent 5 games played
sideGetLolPlayersPlayerIdOrSlugStatsSide
videogameVersionVideogameVersionOrAll
fromstringFilter out 'from' date
tostringFilter out 'to' date

Return Type

LoLStatsForPlayer

Example Usage Code Snippet

import { PandascoreClient, PlayerIdOrSlug, VideogameVersionOrAll } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});

const playerIdOrSlug = 9;
const getLolPlayersPlayerIdOrSlugStatsSide = GetLolPlayersPlayerIdOrSlugStatsSide.BLUE;
const videogameVersionOrAll = "5.4970743709";

const { data } = await pandascoreClient.loLStats.getLolPlayersPlayerIdOrSlugStats(
,
{
gamesCount: 4,
side: getLolPlayersPlayerIdOrSlugStatsSide,
videogameVersion: videogameVersionOrAll,
from: "2017-07-21",
to: "2017-07-21",
}
);

console.log(data);
})();

get_lol_series_serieIdOrSlug_players_playerIdOrSlug_stats

Get detailed statistics of a given League-of-Legends player for the given serie

  • HTTP Method: GET
  • Endpoint: /lol/series/{serie_id_or_slug}/players/{player_id_or_slug}/stats

Parameters

NameTypeRequiredDescription
serieIdOrSlugSerieIdOrSlugA serie ID or slug
playerIdOrSlugPlayerIdOrSlugA player ID or slug
gamesCountnumberThe amount of games used for the statistics.

For example if ?games_count=5, it would show the statistics for the most recent 5 games played
sideGetLolPlayersPlayerIdOrSlugStatsSide
videogameVersionVideogameVersionOrAll

Return Type

LoLStatsForPlayerBySerie

Example Usage Code Snippet

import { PandascoreClient, PlayerIdOrSlug, SerieIdOrSlug, VideogameVersionOrAll } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});

const serieIdOrSlug = 10;
const playerIdOrSlug = 9;
const getLolPlayersPlayerIdOrSlugStatsSide = GetLolPlayersPlayerIdOrSlugStatsSide.BLUE;
const videogameVersionOrAll = "5.4970743709";

const { data } = await pandascoreClient.loLStats.getLolSeriesSerieIdOrSlugPlayersPlayerIdOrSlugStats(
,
,
{
gamesCount: 2,
side: getLolPlayersPlayerIdOrSlugStatsSide,
videogameVersion: videogameVersionOrAll,
}
);

console.log(data);
})();

get_lol_series_serieIdOrSlug_teams_stats

Get detailed statistics of the LoL teams for the given series

  • HTTP Method: GET
  • Endpoint: /lol/series/{serie_id_or_slug}/teams/stats

Parameters

NameTypeRequiredDescription
serieIdOrSlugSerieIdOrSlugA serie ID or slug
gamesCountnumberThe amount of games used for the statistics.

For example if ?games_count=5, it would show the statistics for the most recent 5 games played
sideGetLolPlayersPlayerIdOrSlugStatsSide
videogameVersionVideogameVersionOrAll
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
perPagenumberEquivalent to page[size]

Return Type

LoLStatsForTeamBySerie[]

Example Usage Code Snippet

import { Page, PandascoreClient, SerieIdOrSlug, VideogameVersionOrAll } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});

const serieIdOrSlug = 10;
const getLolPlayersPlayerIdOrSlugStatsSide = GetLolPlayersPlayerIdOrSlugStatsSide.BLUE;
const videogameVersionOrAll = "5.4970743709";
const page = 1;

const { data } = await pandascoreClient.loLStats.getLolSeriesSerieIdOrSlugTeamsStats(
,
{
gamesCount: 3,
side: getLolPlayersPlayerIdOrSlugStatsSide,
videogameVersion: videogameVersionOrAll,
page: page,
perPage: 50,
}
);

console.log(data);
})();

get_lol_series_serieIdOrSlug_teams_teamIdOrSlug_stats

Get detailed statistics of a given League-of-Legends team for the given serie

  • HTTP Method: GET
  • Endpoint: /lol/series/{serie_id_or_slug}/teams/{team_id_or_slug}/stats

Parameters

NameTypeRequiredDescription
serieIdOrSlugSerieIdOrSlugA serie ID or slug
teamIdOrSlugTeamIdOrSlugA team ID or slug
gamesCountnumberThe amount of games used for the statistics.

For example if ?games_count=5, it would show the statistics for the most recent 5 games played
sideGetLolPlayersPlayerIdOrSlugStatsSide
videogameVersionVideogameVersionOrAll

Return Type

LoLStatsForTeamBySerie

Example Usage Code Snippet

import { PandascoreClient, SerieIdOrSlug, TeamIdOrSlug, VideogameVersionOrAll } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});

const serieIdOrSlug = 10;
const teamIdOrSlug = 10;
const getLolPlayersPlayerIdOrSlugStatsSide = GetLolPlayersPlayerIdOrSlugStatsSide.BLUE;
const videogameVersionOrAll = "5.4970743709";

const { data } = await pandascoreClient.loLStats.getLolSeriesSerieIdOrSlugTeamsTeamIdOrSlugStats(
,
,
{
gamesCount: 7,
side: getLolPlayersPlayerIdOrSlugStatsSide,
videogameVersion: videogameVersionOrAll,
}
);

console.log(data);
})();

get_lol_teams_teamIdOrSlug_stats

Get detailed statistics of a given League-of-Legends team

  • HTTP Method: GET
  • Endpoint: /lol/teams/{team_id_or_slug}/stats

Parameters

NameTypeRequiredDescription
teamIdOrSlugTeamIdOrSlugA team ID or slug
gamesCountnumberThe amount of games used for the statistics.

For example if ?games_count=5, it would show the statistics for the most recent 5 games played
sideGetLolPlayersPlayerIdOrSlugStatsSide
videogameVersionVideogameVersionOrAll
fromstringFilter out 'from' date
tostringFilter out 'to' date

Return Type

LoLStatsForTeam

Example Usage Code Snippet

import { PandascoreClient, TeamIdOrSlug, VideogameVersionOrAll } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});

const teamIdOrSlug = 10;
const getLolPlayersPlayerIdOrSlugStatsSide = GetLolPlayersPlayerIdOrSlugStatsSide.BLUE;
const videogameVersionOrAll = "5.4970743709";

const { data } = await pandascoreClient.loLStats.getLolTeamsTeamIdOrSlugStats(
,
{
gamesCount: 8,
side: getLolPlayersPlayerIdOrSlugStatsSide,
videogameVersion: videogameVersionOrAll,
from: "2017-07-21",
to: "2017-07-21",
}
);

console.log(data);
})();

get_lol_tournaments_tournamentIdOrSlug_players_playerIdOrSlug_stats

Get detailed statistics of a given League-of-Legends player for the given tournament

  • HTTP Method: GET
  • Endpoint: /lol/tournaments/{tournament_id_or_slug}/players/{player_id_or_slug}/stats

Parameters

NameTypeRequiredDescription
tournamentIdOrSlugTournamentIdOrSlugA tournament ID or slug
playerIdOrSlugPlayerIdOrSlugA player ID or slug
gamesCountnumberThe amount of games used for the statistics.

For example if ?games_count=5, it would show the statistics for the most recent 5 games played
sideGetLolPlayersPlayerIdOrSlugStatsSide
videogameVersionVideogameVersionOrAll

Return Type

LoLStatsForPlayerByTournament

Example Usage Code Snippet

import { PandascoreClient, PlayerIdOrSlug, TournamentIdOrSlug, VideogameVersionOrAll } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});

const tournamentIdOrSlug = 2;
const playerIdOrSlug = 9;
const getLolPlayersPlayerIdOrSlugStatsSide = GetLolPlayersPlayerIdOrSlugStatsSide.BLUE;
const videogameVersionOrAll = "5.4970743709";

const { data } = await pandascoreClient.loLStats.getLolTournamentsTournamentIdOrSlugPlayersPlayerIdOrSlugStats(
,
,
{
gamesCount: 8,
side: getLolPlayersPlayerIdOrSlugStatsSide,
videogameVersion: videogameVersionOrAll,
}
);

console.log(data);
})();

get_lol_tournaments_tournamentIdOrSlug_teams_teamIdOrSlug_stats

Get detailed statistics of a given League-of-Legends team for the given tournament

  • HTTP Method: GET
  • Endpoint: /lol/tournaments/{tournament_id_or_slug}/teams/{team_id_or_slug}/stats

Parameters

NameTypeRequiredDescription
tournamentIdOrSlugTournamentIdOrSlugA tournament ID or slug
teamIdOrSlugTeamIdOrSlugA team ID or slug
gamesCountnumberThe amount of games used for the statistics.

For example if ?games_count=5, it would show the statistics for the most recent 5 games played
sideGetLolPlayersPlayerIdOrSlugStatsSide
videogameVersionVideogameVersionOrAll

Return Type

LoLStatsForTeamByTournament

Example Usage Code Snippet

import { PandascoreClient, TeamIdOrSlug, TournamentIdOrSlug, VideogameVersionOrAll } from 'pandascore_client';

(async () => {
const pandascoreClient = new PandascoreClient({
token: 'YOUR_TOKEN'});

const tournamentIdOrSlug = 2;
const teamIdOrSlug = 10;
const getLolPlayersPlayerIdOrSlugStatsSide = GetLolPlayersPlayerIdOrSlugStatsSide.BLUE;
const videogameVersionOrAll = "5.4970743709";

const { data } = await pandascoreClient.loLStats.getLolTournamentsTournamentIdOrSlugTeamsTeamIdOrSlugStats(
,
,
{
gamesCount: 9,
side: getLolPlayersPlayerIdOrSlugStatsSide,
videogameVersion: videogameVersionOrAll,
}
);

console.log(data);
})();

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →