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.0.3.tar.gz
(23.0 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.3.tar.gz.
File metadata
- Download URL: valorant_py-2.0.3.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a18e90bbb1c7fe1dfd9906896dd94260292b5c055a54c680f6e69d8ae64b763c
|
|
| MD5 |
09d10962c113e155af3c2154c82cd89e
|
|
| BLAKE2b-256 |
23431df840add922d7a1d9d9217a0c1d91dcb31f0566fdfae752b435f04bfa2f
|
File details
Details for the file valorant.py-2.0.3-py3-none-any.whl.
File metadata
- Download URL: valorant.py-2.0.3-py3-none-any.whl
- Upload date:
- Size: 43.4 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 |
f970b49cfdc95bc50206cc33d38cbfb87b827e8ddf455b04ad90613f164a08eb
|
|
| MD5 |
f310bb991f33ad232499ee5a5a7e4048
|
|
| BLAKE2b-256 |
7d59aabc20051cca677bc74d4739b49ddce55d06d025766c8f7de9c65db2437e
|