An Asynchronous API wrapper for Valorant API written in Python.
Project description
valorant
An Asynchronous API wrapper for Valorant API written in Python.
Features
- 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:
client = valorant.Client()
async with 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.0.0.tar.gz
(22.1 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.0.0.tar.gz.
File metadata
- Download URL: valorant_py-2.0.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e28127d3bf7d8bab5aeb57964c8074ae26279a0ae68b36c0b8a3e6d72c70323
|
|
| MD5 |
7eafe109d1be791a1769dd80a486532b
|
|
| BLAKE2b-256 |
1793da394f2773f0ec91006f6298a22040b87a23686b3bd5e4e1a22c7fc3cf94
|
File details
Details for the file valorant.py-2.0.0-py3-none-any.whl.
File metadata
- Download URL: valorant.py-2.0.0-py3-none-any.whl
- Upload date:
- Size: 42.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c09b1f0c5a35e9524dd223cf38e3dfe9032417d24d25a664e8668b4c2c81ce9
|
|
| MD5 |
0bfed8e4c468e628ca705230474be955
|
|
| BLAKE2b-256 |
3e745b328bd1286e9c2d8ab7b3bfdfecc2eaede6c23c6e5a0927a6b354babb70
|