Skip to main content

An async Python wrapper for the unofficial Valorant API.

Project description

Valopy

Python Version License Tests

An async Python wrapper for the unofficial Valorant API.

DocumentationPyPIIssuesDiscussions

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:

  1. Create an API Key from the API Dashboard
  2. 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:

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

valopy-0.2.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

valopy-0.2.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

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

Hashes for valopy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c1b6787a6ecf1436fdc43f7bd5406a07e2f7796fd9fb8d69fe6fc1781e956d3b
MD5 6c76f14e94dc4ca1857fe2486a0dec07
BLAKE2b-256 611ecf4bc87a5bfb5fb0b776ab5b02725bd473d71ab167b5be0bcba3c99392c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for valopy-0.2.0.tar.gz:

Publisher: publish.yml on Vinc0739/valopy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for valopy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6bc8c580a86ceaad57a843a6778ee5e1d842870da11a66914ff286bb2137570a
MD5 767fc8aa55051326b4a4d81f194772f1
BLAKE2b-256 d6ff37bb3108b4fbf7b5be0be1771d0f6888323571314772eb213b4e43a16df3

See more details on using hashes here.

Provenance

The following attestation bundles were made for valopy-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Vinc0739/valopy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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