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.5.0.tar.gz (26.1 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.5.0-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valorant_py-2.5.0.tar.gz
  • Upload date:
  • Size: 26.1 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.5.0.tar.gz
Algorithm Hash digest
SHA256 0bc6443ef180dc51bdc2370cf5f173d02793f9ba7f107c2ab911c1261a80afff
MD5 885c42ebbd400c3960e08ca89785b6ed
BLAKE2b-256 70e3d50c0c8efd31b1a072b02a4440212388b07fcd12fba35a4d14f983d22220

See more details on using hashes here.

File details

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

File metadata

  • Download URL: valorant_py-2.5.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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff44be1a8a50edf3ef922eb834efc83cf3042eb5f28232b44d49e82a743dd43
MD5 1f80d70d429d65cc67a84c6362369914
BLAKE2b-256 156007fab868274990fd5953f947768f20455f69c40ea2ed72cd57596d896f43

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