Skip to main content

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

  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

async def main():
    api = LanoValoPy(token="YOUR_TOKEN_HERE")

    # Get account details
    account_data = await api.get_account(name="LANORE", tag="evil")
    if account_data.error:
        print(f"Error {account_data.status}: {account_data.error}")
    else:
        print(f"Account Data: {account_data.data}")

    # Get MMR
    mmr_data = await api.get_mmr(version="v1", region="eu", name="LANORE", tag="evil")
    if mmr_data.error:
        print(f"Error {mmr_data.status}: {mmr_data.error}")
    else:
        print(f"MMR Data: {mmr_data.data}")


if __name__ == "__main__":
    asyncio.run(main())

Download

pip install lanovalopy

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.2.0.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

lanovalopy-0.2.0-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

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