ValorantAgentsService
A list of all methods in the ValorantAgentsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_valorant_agents | List agents |
get_valorant_agents_valorant_agent_id | Get a Valorant agent by its ID |
get_valorant_agents
List agents
- HTTP Method:
GET
- Endpoint:
/valorant/agents
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverValorantAgents | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverValorantAgents | ❌ | 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 | SearchOverValorantAgents | ❌ | 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[ValorantAgent]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverValorantAgents, RangeOverValorantAgents, SearchOverValorantAgents
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverValorantAgents(
id_=[
4
],
name=[
"quiame"
],
videogame_version=""
)
range=RangeOverValorantAgents(
id_=[
8
],
name=[
"voluptate "
]
)
sort=[
""
]
search=SearchOverValorantAgents(
name="nisiexerc"
)
page=1
result = sdk.valorant_agents.get_valorant_agents(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
get_valorant_agents_valorant_agent_id
Get a Valorant agent by its ID
- HTTP Method:
GET
- Endpoint:
/valorant/agents/{valorant_agent_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
valorant_agent_id | int | ✅ | ID of the Valorant agent |
Return Type
ValorantAgent
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
result = sdk.valorant_agents.get_valorant_agents_valorant_agent_id(valorant_agent_id=8)
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs