An API wrapper for Valorant API written in Python.
- Supports all endpoints. (includes undocumented endpoints)
- Fully type annotated.
- Pydantic V2 models.
- Supports Python 3.10+.
- Supports all languages.
- Caching support with SQLite backend (enabled by default).
To install the library, you can just run the following command:
# uv
uv add valorant.py
# pip
pip install valorant.py
Speed - Faster JSON parsing with msgspec:
uv add "valorant.py[speed]"
Warning
msgspec does not currently support Python 3.14 and 3.14t. See issue #171.
import asyncio
import valorant
async def main() -> None:
async with valorant.Client() as client:
weapons = await client.fetch_weapons()
for weapon in weapons:
print(weapon.display_name)
print(weapon.display_icon)
asyncio.run(main())This project is licensed under the MIT License - see the LICENSE file for details.