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.3.1.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.3.1-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valorant_py-2.3.1.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.3.1.tar.gz
Algorithm Hash digest
SHA256 41449af1cb37aab5ee99155749667972611086796b2dea1c79852bd1420221c2
MD5 2787870e3e15c4e8e84733697e5a5bda
BLAKE2b-256 8a3ef26e8428f157f169702d2b288e1587a5d4834dc8b97942ec7e552157052a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: valorant_py-2.3.1-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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82af2240fbc912aaef0b08f6d72c7d544e5d0ca8174e746fe006b26054929706
MD5 92b558dcba85c6aaf8de7fae9edc6371
BLAKE2b-256 3d021553c71b9cdd45e4b4f3155966b115382637cd99886501bb2e5101537506

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