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.1.0.tar.gz
(22.8 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.1.0.tar.gz.
File metadata
- Download URL: valorant_py-2.1.0.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3192be08e16023c16086b4ad3e164d23a412dabf81badfb9c463d4aa9a4622f7
|
|
| MD5 |
6ba598cb8fb0918e978f0a8ff4d2611d
|
|
| BLAKE2b-256 |
10c84e882760b27645cef6877f8fa1f954d5282f223418534121532af7657170
|
File details
Details for the file valorant_py-2.1.0-py3-none-any.whl.
File metadata
- Download URL: valorant_py-2.1.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 |
3179512d10ecd517746a550d84ce40bee09407ae53793dc43561d54325241311
|
|
| MD5 |
fe0d950d6a740ab139814bfe444a43e1
|
|
| BLAKE2b-256 |
1758c9faaa654ca97f1536fda4f9a341ebe9455d74f7646bdd0396ad29ef48ff
|