An async Python wrapper for the unofficial Valorant API.
Project description
Valopy
An async Python wrapper for the unofficial Valorant API.
Documentation • PyPI • Issues • Discussions
Note: ValoPy is an unofficial wrapper. It is not affiliated with or endorsed by Riot Games. Use at your own risk and ensure compliance with the unofficial Valorant API's terms of service.
Warning: Since the API changes frequently and this is a typed wrapper, it may not always work when the API updates. Currently compatible with API v4.5.0.
About
ValoPy is an async Python wrapper designed specifically for the Unofficial Valorant API created by Henrik-3.
Before using this wrapper, you'll need to:
- Create an API Key from the API Dashboard
- Read the Before using this API from the API Github Repository
For help with the API itself, visit the Discord Server or check the API Status.
Key Features
- 🚀 Simple async/await interface powered by asyncio
- 📦 Automatic JSON parsing for all responses
- 🔄 Built-in error handling and resilience
- 📚 Full type hints for better IDE support
Installation
ValoPy is compatible Python 3.11+.
pip install valopy
Optional Dependencies
# Development (testing, linting, type checking)
pip install valopy[dev]
# Documentation (Sphinx and related tools)
pip install valopy[docs]
Quick Start
import asyncio
from valopy import Client
async def get_account_info():
async with Client(api_key="your-api-key") as client:
# Fetch account information
account = await client.get_account_v1("PlayerName", "TAG")
print(f"Player: {account.name}#{account.tag}")
print(f"PUUID: {account.puuid}")
print(f"Region: {account.region}")
print(f"Level: {account.account_level}")
print(f"Last Update: {account.last_update}")
asyncio.run(get_account_info())
For additional examples and use cases, check out the:
- /examples directory with complete examples
- Documentation with more details
Links
ValoPy
Unofficial Valorant API
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 valopy-0.2.0.tar.gz.
File metadata
- Download URL: valopy-0.2.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1b6787a6ecf1436fdc43f7bd5406a07e2f7796fd9fb8d69fe6fc1781e956d3b
|
|
| MD5 |
6c76f14e94dc4ca1857fe2486a0dec07
|
|
| BLAKE2b-256 |
611ecf4bc87a5bfb5fb0b776ab5b02725bd473d71ab167b5be0bcba3c99392c9
|
Provenance
The following attestation bundles were made for valopy-0.2.0.tar.gz:
Publisher:
publish.yml on Vinc0739/valopy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
valopy-0.2.0.tar.gz -
Subject digest:
c1b6787a6ecf1436fdc43f7bd5406a07e2f7796fd9fb8d69fe6fc1781e956d3b - Sigstore transparency entry: 772570143
- Sigstore integration time:
-
Permalink:
Vinc0739/valopy@66c5154f40a7c971bcfd4ea32fa76d5a574575b5 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Vinc0739
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@66c5154f40a7c971bcfd4ea32fa76d5a574575b5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file valopy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: valopy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bc8c580a86ceaad57a843a6778ee5e1d842870da11a66914ff286bb2137570a
|
|
| MD5 |
767fc8aa55051326b4a4d81f194772f1
|
|
| BLAKE2b-256 |
d6ff37bb3108b4fbf7b5be0be1771d0f6888323571314772eb213b4e43a16df3
|
Provenance
The following attestation bundles were made for valopy-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on Vinc0739/valopy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
valopy-0.2.0-py3-none-any.whl -
Subject digest:
6bc8c580a86ceaad57a843a6778ee5e1d842870da11a66914ff286bb2137570a - Sigstore transparency entry: 772570151
- Sigstore integration time:
-
Permalink:
Vinc0739/valopy@66c5154f40a7c971bcfd4ea32fa76d5a574575b5 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Vinc0739
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@66c5154f40a7c971bcfd4ea32fa76d5a574575b5 -
Trigger Event:
push
-
Statement type: