Skip to main content

Dota2StatsService

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

MethodsDescription
get_dota2_matches_match_id_or_slug_players_statsGet detailed statistics of Dota2 players for the given match
get_dota2_players_player_id_or_slug_statsGet detailed statistics of a given Dota2 player
get_dota2_series_serie_id_or_slug_players_player_id_or_slug_statsGet detailed statistics of a given Dota2 player for the given serie
get_dota2_series_serie_id_or_slug_teams_team_id_or_slug_statsGet detailed statistics of a given Dota2 team for the given serie
get_dota2_teams_team_id_or_slug_statsGet detailed statistics of a given Dota2 team
get_dota2_tournaments_tournament_id_or_slug_players_player_id_or_slug_statsGet detailed statistics of a given Dota2 player for the given tournament
get_dota2_tournaments_tournament_id_or_slug_teams_team_id_or_slug_statsGet detailed statistics of a given Dota2 team for the given tournament

get_dota2_matches_match_id_or_slug_players_stats

Get detailed statistics of Dota2 players for the given match

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

Parameters

NameTypeRequiredDescription
match_id_or_slugMatchIdOrSlugA match ID or slug

Return Type

Dota2StatsForAllPlayersByMatch

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.dota2_stats.get_dota2_matches_match_id_or_slug_players_stats(match_id_or_slug=match_id_or_slug)

print(result)

get_dota2_players_player_id_or_slug_stats

Get detailed statistics of a given Dota2 player

  • HTTP Method: GET
  • Endpoint: /dota2/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
sideGetDota2PlayersPlayerIdOrSlugStatsSide
from_strFilter out 'from' date
tostrFilter out 'to' date

Return Type

Dota2StatsForPlayer

Example Usage Code Snippet

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

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

result = sdk.dota2_stats.get_dota2_players_player_id_or_slug_stats(
player_id_or_slug=player_id_or_slug,
games_count=4,
side="radiant",
from_="2017-07-21",
to="2017-07-21"
)

print(result)

get_dota2_series_serie_id_or_slug_players_player_id_or_slug_stats

Get detailed statistics of a given Dota2 player for the given serie

  • HTTP Method: GET
  • Endpoint: /dota2/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
sideGetDota2PlayersPlayerIdOrSlugStatsSide

Return Type

Dota2StatsForPlayerBySerie

Example Usage Code Snippet

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

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

result = sdk.dota2_stats.get_dota2_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=6,
side="radiant"
)

print(result)

get_dota2_series_serie_id_or_slug_teams_team_id_or_slug_stats

Get detailed statistics of a given Dota2 team for the given serie

  • HTTP Method: GET
  • Endpoint: /dota2/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
sideGetDota2PlayersPlayerIdOrSlugStatsSide

Return Type

Dota2StatsForTeamBySerie

Example Usage Code Snippet

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

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

result = sdk.dota2_stats.get_dota2_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=9,
side="radiant"
)

print(result)

get_dota2_teams_team_id_or_slug_stats

Get detailed statistics of a given Dota2 team

  • HTTP Method: GET
  • Endpoint: /dota2/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
sideGetDota2PlayersPlayerIdOrSlugStatsSide
from_strFilter out 'from' date
tostrFilter out 'to' date

Return Type

Dota2StatsForTeam

Example Usage Code Snippet

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

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

result = sdk.dota2_stats.get_dota2_teams_team_id_or_slug_stats(
team_id_or_slug=team_id_or_slug,
games_count=4,
side="radiant",
from_="2017-07-21",
to="2017-07-21"
)

print(result)

get_dota2_tournaments_tournament_id_or_slug_players_player_id_or_slug_stats

Get detailed statistics of a given Dota2 player for the given tournament

  • HTTP Method: GET
  • Endpoint: /dota2/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
sideGetDota2PlayersPlayerIdOrSlugStatsSide

Return Type

Dota2StatsForPlayerByTournament

Example Usage Code Snippet

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

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

result = sdk.dota2_stats.get_dota2_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=7,
side="radiant"
)

print(result)

get_dota2_tournaments_tournament_id_or_slug_teams_team_id_or_slug_stats

Get detailed statistics of a given Dota2 team for the given tournament

  • HTTP Method: GET
  • Endpoint: /dota2/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
sideGetDota2PlayersPlayerIdOrSlugStatsSide

Return Type

Dota2StatsForTeamByTournament

Example Usage Code Snippet

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

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

result = sdk.dota2_stats.get_dota2_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=3,
side="radiant"
)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →