ValorantWeaponsService
A list of all methods in the ValorantWeaponsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_valorant_weapons | List weapons |
get_valorant_weapons_valorant_weapon_id | Get a Valorant weapon by its ID |
get_valorant_weapons
List weapons
- HTTP Method:
GET
- Endpoint:
/valorant/weapons
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverValorantWeapons | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverValorantWeapons | ❌ | 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 | SearchOverValorantWeapons | ❌ | 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[ValorantWeapon]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverValorantWeapons, RangeOverValorantWeapons, SearchOverValorantWeapons
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverValorantWeapons(
creds=[
8.36
],
id_=[
9
],
name=[
"consectetu"
],
videogame_version=""
)
range=RangeOverValorantWeapons(
creds=[
5.67
],
id_=[
4
],
name=[
"amet pariatur s"
]
)
sort=[
""
]
search=SearchOverValorantWeapons(
name="Duis do"
)
page=1
result = sdk.valorant_weapons.get_valorant_weapons(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
get_valorant_weapons_valorant_weapon_id
Get a Valorant weapon by its ID
- HTTP Method:
GET
- Endpoint:
/valorant/weapons/{valorant_weapon_id}
Parameters
Name | Type | Required | Description |
---|---|---|---|
valorant_weapon_id | int | ✅ | ID of the Valorant weapon |
Return Type
ValorantWeapon
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_weapons.get_valorant_weapons_valorant_weapon_id(valorant_weapon_id=10)
print(result)
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs