CounterStrikePlayersService
A list of all methods in the CounterStrikePlayersService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_csgo_players | List players for the Counter-Strike videogame |
get_csgo_players
List players for the Counter-Strike videogame
- HTTP Method:
GET
- Endpoint:
/csgo/players
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCsgoPlayers | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCsgoPlayers | ❌ | 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 | SearchOverCsgoPlayers | ❌ | 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 FilterOverCsgoPlayers, RangeOverCsgoPlayers, SearchOverCsgoPlayers
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCsgoPlayers(
active=False,
birthday=[
"ipsum est"
],
first_name=[
"commodo elit"
],
id_=[
2
],
last_name=[
"sitesse aut"
],
modified_at=[
"exercit"
],
name=[
"dolore Excepte"
],
nationality=[
"exercitat"
],
role=[
"quis consectet"
],
slug=[
"hqupp"
],
team_id=[
4
],
videogame_id=[
1
]
)
range=RangeOverCsgoPlayers(
birthday=[
"nostrud "
],
first_name=[
"inaut"
],
id_=[
2
],
last_name=[
"magna m"
],
modified_at=[
"nostrud inc"
],
name=[
"non qui sun"
],
nationality=[
"amet "
],
role=[
"non co"
],
slug=[
"srxr1-zb2sn"
]
)
sort=[
""
]
search=SearchOverCsgoPlayers(
birthday="nostrud ad in ",
first_name="consequa",
last_name="laborum ",
name="ut Excepteur n",
nationality="proident mini",
role="aliquip ",
slug="9y"
)
page=1
result = sdk.counter_strike_players.get_csgo_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