OwPlayersService
A list of all methods in the OwPlayersService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_ow_players | List players for the Overwatch videogame |
get_ow_players
List players for the Overwatch videogame
- HTTP Method:
GET
- Endpoint:
/ow/players
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverOwPlayers | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverOwPlayers | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverOwPlayers | ❌ | 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 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[Player]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverOwPlayers, RangeOverOwPlayers, SearchOverOwPlayers
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverOwPlayers(
active=False,
birthday=[
"est Excepteur "
],
first_name=[
"aliquip con"
],
id_=[
1
],
last_name=[
"sit magna i"
],
modified_at=[
"id q"
],
name=[
"aliquip"
],
nationality=[
"Lorem offic"
],
role=[
"aute ad nu"
],
slug=[
"4l5"
],
team_id=[
3
],
videogame_id=[
1
]
)
range=RangeOverOwPlayers(
birthday=[
"pariat"
],
first_name=[
"id veniam la"
],
id_=[
10
],
last_name=[
"laborum vel"
],
modified_at=[
"cupidatat fug"
],
name=[
"officia an"
],
nationality=[
"aliquip"
],
role=[
"est non d"
],
slug=[
"z3x5kp2w1"
]
)
sort=[
""
]
search=SearchOverOwPlayers(
birthday="cupidatat",
first_name="ut qui",
last_name="doquis ad ",
name="exercita",
nationality="irure dolor",
role="Duis non",
slug="z8o_9ly2hq"
)
page=1
result = sdk.ow_players.get_ow_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