LanoValoPy (Lanore Valorant Python)
LanoValoPy is a python-based wrapper for the following Valorant Rest API:
https://github.com/Henrik-3/unofficial-valorant-api
This API is free and freely accessible for everyone. An API key is optional but not mandatory. This project is NOT being worked on regularly.
This is the first version. There could be some bugs, unexpected exceptions or similar. Please report bugs on our discord.
API key
You can request an API key on Henrik's discord server
It is NOT required to use an API key though!
Summary
Introduction
Some requests may take longer.
Get Account
import asyncio
from lano_valo_py import LanoValoPy
from lano_valo_py.valo_types.valo_enums import MMRVersions, Regions
async def main():
# Initialize the API client with your token
api_client = LanoValoPy(henrik_token="YOUR_TOKEN_HERE")
# Example: Get Account Information
account_options = AccountFetchOptionsModel(name="LANORE", tag="evil")
try:
account_response = await api_client.get_account(account_options)
print(account_response)
except Exception as e:
print(f"Error fetching account: {e}")
if __name__ == "__main__":
asyncio.run(main())
Get Stored-MMR-History
from lano_valo_py.valo_types.valo_enums import MMRVersions, Regions
from lano_valo_py.valo_types.valo_models import (
GetMMRStoredHistoryFilterModel,
GetMMRStoredHistoryOptionsModel,
GetMMRStoredHistoryByPUUIDResponseModel
)
import asyncio
from lano_valo_py import LanoValoPy
async def main():
# Initialize the API client with your token
api_client = LanoValoPy(henrik_token="You_token_here")
# Example: Get Stored MMR History
# Use filter if u have more than 20 match in one episode
option_filter = GetMMRStoredHistoryFilterModel(
size=20
) # max size one one page is 20, page is 1 by default
mmr_options = GetMMRStoredHistoryOptionsModel(
version=MMRVersions.v1,
region=Regions.eu,
name="Lanore",
tag="evil",
filter=option_filter,
)
stored_mmr_history_response = await api_client.get_stored_mmr_history(mmr_options)
print(stored_mmr_history_response)
# Example: Get Stored MMR History By PUUID
mmr_options = GetMMRStoredHistoryByPUUIDResponseModel(
version=MMRVersions.v1,
region=Regions.eu,
puuid="e4122af3-fa8c-582c-847d-42a3868925cd",
filter=option_filter,
)
stored_mmr_history_response = await api_client.get_stored_mmr_history_by_puuid(mmr_options)
print(stored_mmr_history_response)
Examples
Supported Endpoints
- Account info
- MMR history
- Match history
- Stored Data
- etc...
Rate Limits
The unofficial Valorant API has the following limits:
- Basic key: 30 requests per minute
- Advanced key: 90 requests per minute
- Custom key: Limit you requests
Common Use Cases
- Track player rank over time
- Compare teammates' stats
- Monitor store rotations
Download
pip install lanovalopy@latest
Documentation
Hosted
The documentation is hosted here: https://Lanxre.github.io/LanoValoPy/
Support
For support visit my discord server
Release files for LanoValoPy 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lanovalopy-1.1.0.tar.gz | 28.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lanovalopy-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.1 kB
Release files / lanovalopy-1.1.0.tar.gz
| Download URL | lanovalopy-1.1.0.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0ff863b5f0c1582ab10f4ca457a0611daff1f062eac827ee2fec69e7d34bc39
|
|
BLAKE2b-256 checksum How to use checksums |
f66400338a257c3c73114dd1aa056bd1f24307621de2f049b71ea13ae33f3207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.11.13 Linux/6.11.0-1018-azure
|
Release files / lanovalopy-1.1.0-py3-none-any.whl
| Download URL | lanovalopy-1.1.0-py3-none-any.whl |
|---|---|
| Size | 50.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d40a7dc516d62c1b3a5896a54579d9290fabe01eec09fa2055806fa03764dbb
|
|
BLAKE2b-256 checksum How to use checksums |
0898bf9a8b2a77bfc178dd8f803a2c47c4432de0f2e320557508866f8bbef1af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.11.13 Linux/6.11.0-1018-azure
|