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.3.0.tar.gz (14.6 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.3.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valopy-0.3.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for valopy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fbe63bc590bcc39263781091be9f117fdcc0a278d47db90f426809703aeba4ce
MD5 8de15abc44e347eb200032ac4173b795
BLAKE2b-256 5ffcb1be0a006b035cf19b130551e121bc090d09625c0544d1ace08b856ae41a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: valopy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1caaacfc471eccbf19f28c193de6e73bccc0980a9c49fdc665515c48c969c593
MD5 5fa9d2c3b535aa2563d0fe97539e0dae
BLAKE2b-256 b4f1a60cba4c94f1d45ceb974f693272316a75a9f3ffdee709ebbd96a2751631

See more details on using hashes here.

Provenance

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