Skip to main content

This is a wrapper for the Valorant API, source: https://github.com/henrikdev/valorant-api

Project description

Downloads

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

  1. Introduction
  2. Download
  3. Documentation
  4. Support

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lanovalopy-0.4.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

lanovalopy-0.4.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file lanovalopy-0.4.0.tar.gz.

File metadata

  • Download URL: lanovalopy-0.4.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Windows/10

File hashes

Hashes for lanovalopy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 985b8c400bc257cf06a475084bc0a5a3b5c610e93397b1d1ea5270e94bc7e792
MD5 e89b7bd00379679f365beb292a1ef5a8
BLAKE2b-256 2e53861706b2f40ad053ebe683cda797aa682b0dd4e485766e973baf0a3eafbf

See more details on using hashes here.

File details

Details for the file lanovalopy-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: lanovalopy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.0 Windows/10

File hashes

Hashes for lanovalopy-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da8b0790d9eab47eb975609164ef9304a47601536cc9b40df58f14e1276ca2a0
MD5 8024c2a281e3cde83bbed48ed9a0eda6
BLAKE2b-256 426e5e0a27590cc7c1f7d2e5d09ef327692ceb90a5826465b63737f8ef37c1ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page