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_match_id_or_slug_players_statsGet detailed statistics of League-of-Legends players for the given match
get_lol_players_player_id_or_slug_statsGet detailed statistics of a given League-of-Legends player
get_lol_series_serie_id_or_slug_players_player_id_or_slug_statsGet detailed statistics of a given League-of-Legends player for the given serie
get_lol_series_serie_id_or_slug_teams_statsGet detailed statistics of the LoL teams for the given series
get_lol_series_serie_id_or_slug_teams_team_id_or_slug_statsGet detailed statistics of a given League-of-Legends team for the given serie
get_lol_teams_team_id_or_slug_statsGet detailed statistics of a given League-of-Legends team
get_lol_tournaments_tournament_id_or_slug_players_player_id_or_slug_statsGet detailed statistics of a given League-of-Legends player for the given tournament
get_lol_tournaments_tournament_id_or_slug_teams_team_id_or_slug_statsGet detailed statistics of a given League-of-Legends team for the given tournament

get_lol_matches_match_id_or_slug_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
match_id_or_slugMatchIdOrSlugA match ID or slug

Return Type

LoLStatsForAllPlayersByMatch

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
match_id_or_slug=5

result = sdk.lo_l_stats.get_lol_matches_match_id_or_slug_players_stats(match_id_or_slug=match_id_or_slug)

print(result)

get_lol_players_player_id_or_slug_stats

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

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

Parameters

NameTypeRequiredDescription
player_id_or_slugPlayerIdOrSlugA player ID or slug
games_countintThe 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
videogame_versionVideogameVersionOrAll
from_strFilter out 'from' date
tostrFilter out 'to' date

Return Type

LoLStatsForPlayer

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import GetLolPlayersPlayerIdOrSlugStatsSide

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
player_id_or_slug=9
videogame_version="5.4970743709"

result = sdk.lo_l_stats.get_lol_players_player_id_or_slug_stats(
player_id_or_slug=player_id_or_slug,
games_count=4,
side="blue",
videogame_version=videogame_version,
from_="2017-07-21",
to="2017-07-21"
)

print(result)

get_lol_series_serie_id_or_slug_players_player_id_or_slug_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
serie_id_or_slugSerieIdOrSlugA serie ID or slug
player_id_or_slugPlayerIdOrSlugA player ID or slug
games_countintThe 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
videogame_versionVideogameVersionOrAll

Return Type

LoLStatsForPlayerBySerie

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import GetLolPlayersPlayerIdOrSlugStatsSide

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
serie_id_or_slug=10
player_id_or_slug=9
videogame_version="5.4970743709"

result = sdk.lo_l_stats.get_lol_series_serie_id_or_slug_players_player_id_or_slug_stats(
serie_id_or_slug=serie_id_or_slug,
player_id_or_slug=player_id_or_slug,
games_count=2,
side="blue",
videogame_version=videogame_version
)

print(result)

get_lol_series_serie_id_or_slug_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
serie_id_or_slugSerieIdOrSlugA serie ID or slug
games_countintThe 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
videogame_versionVideogameVersionOrAll
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
per_pageintEquivalent to page[size]

Return Type

List[LoLStatsForTeamBySerie]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import GetLolPlayersPlayerIdOrSlugStatsSide

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
serie_id_or_slug=10
videogame_version="5.4970743709"
page=1

result = sdk.lo_l_stats.get_lol_series_serie_id_or_slug_teams_stats(
serie_id_or_slug=serie_id_or_slug,
games_count=3,
side="blue",
videogame_version=videogame_version,
page=page,
per_page=50
)

print(result)

get_lol_series_serie_id_or_slug_teams_team_id_or_slug_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
serie_id_or_slugSerieIdOrSlugA serie ID or slug
team_id_or_slugTeamIdOrSlugA team ID or slug
games_countintThe 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
videogame_versionVideogameVersionOrAll

Return Type

LoLStatsForTeamBySerie

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import GetLolPlayersPlayerIdOrSlugStatsSide

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
serie_id_or_slug=10
team_id_or_slug=10
videogame_version="5.4970743709"

result = sdk.lo_l_stats.get_lol_series_serie_id_or_slug_teams_team_id_or_slug_stats(
serie_id_or_slug=serie_id_or_slug,
team_id_or_slug=team_id_or_slug,
games_count=7,
side="blue",
videogame_version=videogame_version
)

print(result)

get_lol_teams_team_id_or_slug_stats

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

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

Parameters

NameTypeRequiredDescription
team_id_or_slugTeamIdOrSlugA team ID or slug
games_countintThe 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
videogame_versionVideogameVersionOrAll
from_strFilter out 'from' date
tostrFilter out 'to' date

Return Type

LoLStatsForTeam

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import GetLolPlayersPlayerIdOrSlugStatsSide

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
team_id_or_slug=10
videogame_version="5.4970743709"

result = sdk.lo_l_stats.get_lol_teams_team_id_or_slug_stats(
team_id_or_slug=team_id_or_slug,
games_count=8,
side="blue",
videogame_version=videogame_version,
from_="2017-07-21",
to="2017-07-21"
)

print(result)

get_lol_tournaments_tournament_id_or_slug_players_player_id_or_slug_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
tournament_id_or_slugTournamentIdOrSlugA tournament ID or slug
player_id_or_slugPlayerIdOrSlugA player ID or slug
games_countintThe 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
videogame_versionVideogameVersionOrAll

Return Type

LoLStatsForPlayerByTournament

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import GetLolPlayersPlayerIdOrSlugStatsSide

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
tournament_id_or_slug=2
player_id_or_slug=9
videogame_version="5.4970743709"

result = sdk.lo_l_stats.get_lol_tournaments_tournament_id_or_slug_players_player_id_or_slug_stats(
tournament_id_or_slug=tournament_id_or_slug,
player_id_or_slug=player_id_or_slug,
games_count=8,
side="blue",
videogame_version=videogame_version
)

print(result)

get_lol_tournaments_tournament_id_or_slug_teams_team_id_or_slug_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
tournament_id_or_slugTournamentIdOrSlugA tournament ID or slug
team_id_or_slugTeamIdOrSlugA team ID or slug
games_countintThe 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
videogame_versionVideogameVersionOrAll

Return Type

LoLStatsForTeamByTournament

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import GetLolPlayersPlayerIdOrSlugStatsSide

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
tournament_id_or_slug=2
team_id_or_slug=10
videogame_version="5.4970743709"

result = sdk.lo_l_stats.get_lol_tournaments_tournament_id_or_slug_teams_team_id_or_slug_stats(
tournament_id_or_slug=tournament_id_or_slug,
team_id_or_slug=team_id_or_slug,
games_count=9,
side="blue",
videogame_version=videogame_version
)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →