Skip to main content

An API wrapper for Valorant API written in Python.

Project description

valorant

An API wrapper for Valorant API written in Python.

Features

  • Supports all endpoints. (includes undocumented endpoints)
  • Fully type annotated.
  • Pydantic V2 models.
  • Supports Python 3.10+.
  • Supports all languages.
  • Caching support with SQLite backend (enabled by default).

Installing

To install the library, you can just run the following command:

# uv
uv add valorant.py

# pip
pip install valorant.py

Optional Dependencies

Speed - Faster JSON parsing with msgspec:

uv add "valorant.py[speed]"

[!WARNING]
msgspec does not currently support Python 3.14 and 3.14t. See issue #171.

Quick Example

import asyncio
import valorant


async def main() -> None:
    async with valorant.Client() as client:
        weapons = await client.fetch_weapons()
        for weapon in weapons:
            print(weapon.display_name)
            print(weapon.display_icon)


asyncio.run(main())

License

This project is licensed under the MIT License - see the LICENSE file for details.

Links

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

valorant_py-2.4.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

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

valorant_py-2.4.0-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file valorant_py-2.4.0.tar.gz.

File metadata

  • Download URL: valorant_py-2.4.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for valorant_py-2.4.0.tar.gz
Algorithm Hash digest
SHA256 e861a4f81c2cf07427275ad0df6d016a16d34609e26eaf9db66f90f3208a70da
MD5 bb81a94e2b841a05f1984a9a26e78018
BLAKE2b-256 fcc0580e1dedcd21c963355dada071e7bb090c036631f776aa8958fe0fc9577d

See more details on using hashes here.

File details

Details for the file valorant_py-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: valorant_py-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 45.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for valorant_py-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7c53d42c194b9e8c25bc4d63bf969862f9f75426d6d49349fbb4f26caab308
MD5 9430fa2bbe183195038f95a5b1590445
BLAKE2b-256 5327745c96cee50d2fb5706879bc3ec4cff4d3d513e51afc33fa99c0e576c4ee

See more details on using hashes here.

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