A list of all methods in the ValorantMapsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_valorant_maps | List maps |
get_valorant_maps_valorant_map_id | Get a Valorant map by its ID |
List maps
- HTTP Method:
GET
- Endpoint:
/valorant/maps
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverValorantMaps | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverValorantMaps | ❌ | 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 | SearchOverValorantMaps | ❌ | 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[ValorantMap]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverValorantMaps, RangeOverValorantMaps, SearchOverValorantMaps
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverValorantMaps(
id_=[
7
],
name=[
"ex eu in amet m"
],
slug=[
"gp"
],
videogame_version=""
)
range=RangeOverValorantMaps(
id_=[
9
],
name=[
"in eiusmod"
],
slug=[
"poql9y"
]
)
sort=[
""
]
search=SearchOverValorantMaps(
name="ullamco conse",
slug="duug0"
)
page=1
result = sdk.valorant_maps.get_valorant_maps(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
Get a Valorant map by its ID
- HTTP Method:
GET
- Endpoint:
/valorant/maps/{valorant_map_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
valorant_map_id | int | ✅ | ID of the Valorant map |
Return Type
ValorantMap
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_maps.get_valorant_maps_valorant_map_id(valorant_map_id=5)
print(result)