Valorant Assets API
A typed Python wrapper for the public Valorant API, built on pypercache.
Features
- Typed
@apimodelschema resources for the main/v1endpoints - Built-in response caching via
pypercache - UUID lookups and collection methods
- Convenience helpers for playable agents, name-based lookup, active events, current season, and flattened contract rewards
- Convenience helpers for downloading assets and finding their path on disk
- Optional request logging
Install
pip install valorant-assets-api
For local development:
pip install -e .[test]
Usage
from valorant_assets_api import ValorantAPI
api = ValorantAPI()
for agent in api.list_agents(playable_only=True):
print(agent.display_name, "-", agent.role.display_name if agent.role else "No role")
current_season = api.get_current_season()
version = api.get_version()
Documentation & Tutorial
Read the docs online, or start at docs/index.md for the Markdown version.
For a step-by-step walkthrough covering setup, localization, UUID lookups, convenience helpers, and cache configuration, see the tutorial notebook.
Endpoint Coverage
list_* and get_* methods map directly to public /v1 endpoints. Helper methods compose those calls into higher-level lookups.
| Endpoint | Collection | Detail | Helpers |
|---|---|---|---|
/agents |
list_agents() |
get_agent() |
find_agent() |
/buddies |
list_buddies() |
get_buddy() |
- |
/bundles |
list_bundles() |
get_bundle() |
- |
/ceremonies |
list_ceremonies() |
get_ceremony() |
- |
/competitivetiers |
list_competitive_tiers() |
get_competitive_tier_set() |
- |
/contenttiers |
list_content_tiers() |
get_content_tier() |
- |
/contracts |
list_contracts() |
get_contract() |
list_contract_rewards() |
/currencies |
list_currencies() |
get_currency() |
- |
/events |
list_events() |
get_event() |
get_active_events() |
/gamemodes |
list_gamemodes() |
get_gamemode() |
- |
/gear |
list_gear() |
get_gear() |
- |
/levelborders |
list_level_borders() |
get_level_border() |
- |
/maps |
list_maps() |
get_map() |
find_map() |
/missions |
list_missions() |
get_mission() |
- |
/objectives |
list_objectives() |
get_objective() |
- |
/playercards |
list_player_cards() |
get_player_card() |
- |
/playertitles |
list_player_titles() |
get_player_title() |
- |
/seasons |
list_seasons() |
get_season() |
get_current_season() |
/sprays |
list_sprays() |
get_spray() |
- |
/themes |
list_themes() |
get_theme() |
- |
/weapons |
list_weapons() |
get_weapon() |
find_weapon() |
/version |
- | get_version() |
- |
Metadata
Release files for valorant-assets-api 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| valorant_assets_api-0.1.2.tar.gz | 24.1 kB | Without provenance | Details for valorant_assets_api-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| valorant_assets_api-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for valorant_assets_api-0.1.2-py3-none-any.whl |
Total release size: 43.1 kB
Release files / valorant_assets_api-0.1.2.tar.gz
| Download URL | valorant_assets_api-0.1.2.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16c0abc3d5841b184bb5d515f71efb766ec1a44f54230d0118e4e4bb2e72d495
|
|
BLAKE2b-256 checksum How to use checksums |
20349d08dd46ccca80d72363e290169764ea16cff547ce5ec41fbd00e28d1ad4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / valorant_assets_api-0.1.2-py3-none-any.whl
| Download URL | valorant_assets_api-0.1.2-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3bd74b9b9fc2bbe2151e3274dcec900c2181d162995865d9b5d26836fdf2251
|
|
BLAKE2b-256 checksum How to use checksums |
df5ea3e9baf9a6512f0d2ab8c415521809bc7e27d3d64f60578361fb4129e16f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for valorant-assets-api 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.