This is a wrapper for the Valorant API, source: https://github.com/henrikdev/valorant-api
Project description
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 and mmr informations
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(token="YOUR_TOKEN_HERE")
# Example: Get Account Information
account_options = AccountFetchOptionsModel(name="LANORE", tag="evil")
account_response = await api_client.get_account(account_options)
print(account_response)
# Example: Get MMR
mmr_options = GetMMRFetchOptionsModel(
version=MMRVersions.v2,
region=Regions.eu,
name="Lanore",
tag="evil",
)
mmr_response = await api_client.get_mmr(mmr_options)
print(mmr_response)
if __name__ == "__main__":
asyncio.run(main())
Download
pip install lanovalopy@latest
Documentation
The detailed documentations are still in progress.
Support
For support visit my discord server
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
Built Distribution
File details
Details for the file lanovalopy-0.6.0.tar.gz
.
File metadata
- Download URL: lanovalopy-0.6.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b16511e1fdcd2900e314265b779f3f9bb503d34a0bc3c5cb9c1ec136c5325e40 |
|
MD5 | 2e5210a692c828910a6d304616556b39 |
|
BLAKE2b-256 | b9c35d2669be44687aeab96604cc4d8e60d83fe380c528c81b4af6d6bc5190b7 |
File details
Details for the file lanovalopy-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: lanovalopy-0.6.0-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3d8995b7740e48577497215b9074067b164a5233cbb3b9d8ea547896340751 |
|
MD5 | f34c8019256418f39e0857617712309a |
|
BLAKE2b-256 | a0ad9b648a65db1e12e2dcc2aeb20bc80de3edd1475eb578dcbe5ce906a53366 |