Skip to main content

ValorantWeaponsService

A list of all methods in the ValorantWeaponsService service. Click on the method name to view detailed information about that method.

MethodsDescription
get_valorant_weaponsList weapons
get_valorant_weapons_valorant_weapon_idGet a Valorant weapon by its ID

get_valorant_weapons

List weapons

  • HTTP Method: GET
  • Endpoint: /valorant/weapons

Parameters

NameTypeRequiredDescription
filterFilterOverValorantWeaponsOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverValorantWeaponsOptions to select results within ranges
For more information on ranges, see docs.
sortList[any]Options to sort results
For more information on sorting, see docs.
searchSearchOverValorantWeaponsOptions to search results
For more information on searching, see docs.
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
per_pageintEquivalent 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

NameTypeRequiredDescription
valorant_weapon_idintID 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

Start for Free →