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

Uploaded Python 3

File details

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

File metadata

  • Download URL: valorant_py-2.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 ca3fd07e5310aaa23f601f6ce0cc8da7f863688f50c1417ec9fdc9100e91dec2
MD5 413616af44e3ee666cf73a9d1e58a8f9
BLAKE2b-256 53c1aff5718b643a2e491582d6ca85e4cc34886044abe00bc0863705e6ae0aab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: valorant_py-2.3.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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03ec82a75767322413525254d51dad9a2d500fa1dd60fe0c611495b527df826b
MD5 7f2869473d945ca0d432ac0fba23bfb2
BLAKE2b-256 69465f3b26924bb57c4445049772e8b0956983c55139e2b6a1ed05ecffcad82c

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