PubgPlayersService
A list of all methods in the PubgPlayersService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_pubg_players | List players for the PUBG videogame |
get_pubg_players
List players for the PUBG videogame
- HTTP Method:
GET
- Endpoint:
/pubg/players
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverPubgPlayers | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverPubgPlayers | ❌ | 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 | SearchOverPubgPlayers | ❌ | 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 FilterOverPubgPlayers, RangeOverPubgPlayers, SearchOverPubgPlayers
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverPubgPlayers(
active=False,
birthday=[
"officia nulla"
],
first_name=[
"tempor"
],
id_=[
2
],
last_name=[
"qui aute"
],
modified_at=[
"aliqua"
],
name=[
"suntlab"
],
nationality=[
"estvelit "
],
role=[
"occae"
],
slug=[
"8w-9o4lf07"
],
team_id=[
10
],
videogame_id=[
1
]
)
range=RangeOverPubgPlayers(
birthday=[
"esse proide"
],
first_name=[
"ut ex minim v"
],
id_=[
6
],
last_name=[
"et ea"
],
modified_at=[
"ex eu"
],
name=[
"cillum"
],
nationality=[
"irure anim "
],
role=[
"in adipisicing"
],
slug=[
"ts58g3zx8"
]
)
sort=[
""
]
search=SearchOverPubgPlayers(
birthday="Ut in",
first_name="molli",
last_name="eu non",
name="dolore ",
nationality="idfugiat sit e",
role="dolore",
slug="6s90u8"
)
page=1
result = sdk.pubg_players.get_pubg_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