Skip to main content

Dota2PlayersService

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

MethodsDescription
get_dota2_playersList players for the Dota 2 videogame

get_dota2_players

List players for the Dota 2 videogame

  • HTTP Method: GET
  • Endpoint: /dota2/players

Parameters

NameTypeRequiredDescription
filterFilterOverDota2PlayersOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverDota2PlayersOptions to select results within ranges
For more information on ranges, see docs.
sortList[any]Options to sort results
For more information on sorting, see docs.
searchSearchOverDota2PlayersOptions to search results
For more information on searching, see docs.
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
per_pageintEquivalent to page[size]

Return Type

List[Player]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverDota2Players, RangeOverDota2Players, SearchOverDota2Players

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverDota2Players(
active=True,
birthday=[
"nulla ad "
],
first_name=[
"nostrud"
],
id_=[
6
],
last_name=[
"fugiat sit ve"
],
modified_at=[
"Lorem ex amet "
],
name=[
"nisi labore s"
],
nationality=[
"dolor"
],
role=[
"pariatur l"
],
slug=[
"m8l"
],
team_id=[
7
],
videogame_id=[
1
]
)
range=RangeOverDota2Players(
birthday=[
"qui esse"
],
first_name=[
"eiusmod repreh"
],
id_=[
2
],
last_name=[
"in sunt pariat"
],
modified_at=[
"anim magna "
],
name=[
"dolor"
],
nationality=[
"quidolore repre"
],
role=[
"cupida"
],
slug=[
"-f5-23-"
]
)
sort=[
""
]
search=SearchOverDota2Players(
birthday="anim qu",
first_name="Lorem ",
last_name="cillum ipsum",
name="est enim mi",
nationality="id in mollit",
role="fugiat in",
slug="apl"
)
page=1

result = sdk.dota2_players.get_dota2_players(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →