Skip to main content

An async Python wrapper for the unofficial Valorant API.

Project description

ValoPy

An async Python wrapper for the unofficial Valorant API.


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+.

This library is in active development and is currently in beta. Breaking changes will occur until version 1.0.0 is released. Please pin your dependency to a specific version to avoid unexpected breaking changes.

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


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.

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.4.0.tar.gz (20.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.4.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valopy-0.4.0.tar.gz
  • Upload date:
  • Size: 20.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.4.0.tar.gz
Algorithm Hash digest
SHA256 c3b075a765c8ed50e20c6a9b26891150a2e7824f64b65c3f1862caa45fab8280
MD5 62f975d1e0e87b8eb0a0d67a05996544
BLAKE2b-256 2628f4b52c6f35987e18238d0e2e87b9589369687090d9751561eff3d23a3639

See more details on using hashes here.

Provenance

The following attestation bundles were made for valopy-0.4.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: valopy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb681a4bcb0b27d86cfcc2b0531d5b70e4174b39c69e1e44e5677fe2c3ba425a
MD5 8fcdb844b2cd714a93256185953ce59d
BLAKE2b-256 45c4eef298dbe7ba8f50622b4ebe0956fe93261070314e85ee6c6b9ebf661f11

See more details on using hashes here.

Provenance

The following attestation bundles were made for valopy-0.4.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