An API wrapper for Valorant API written in Python.
Project description
valorant
An API wrapper for Valorant API written in Python.
Features
- Supports all endpoints. (includes undocumented endpoints)
- Fully type annotated.
- Pydantic V2 models.
- Supports Python 3.10+.
- Supports all languages.
Installing
To install the library, you can just run the following command:
# uv
uv add valorant.py
# pip
pip install valorant.py
Quick Example
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())
License
This project is licensed under the MIT License - see the LICENSE file for details.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
valorant_py-2.2.0.tar.gz
(23.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file valorant_py-2.2.0.tar.gz.
File metadata
- Download URL: valorant_py-2.2.0.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d4a987fc4e617089f9a24d963f7f271b61ecbf8c4fd4245caa2365d843c8228
|
|
| MD5 |
c571c62b816dfc1fea70720cd166af81
|
|
| BLAKE2b-256 |
a49470f31b6231f8e06746862edd7c6bc762b1d865f637b91adf82be24882292
|
File details
Details for the file valorant_py-2.2.0-py3-none-any.whl.
File metadata
- Download URL: valorant_py-2.2.0-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46b4529792f733b842d9a9e267e18bb9b895db631d1da713e4e1c1a14778ed23
|
|
| MD5 |
45a96291148c00486e28a915bde7e67b
|
|
| BLAKE2b-256 |
c14aaf4e5bfa429559b2773d19bc27eafbef41c0c8572468f62de19bc089ce22
|