Skip to main content

An Asynchronous API wrapper for Valorant API written in Python.

Project description

valorant

An Asynchronous API wrapper for Valorant API written in Python.

Features

  • Fully type annotated.
  • Pydantic V2 models.
  • Supports Python 3.10+.
  • Supports all languages.

Installing

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

# uv
uv add valorant.py

# pip
pip install valorant.py

Quick Example

import asyncio
import valorant


async def main() -> None:
    client = valorant.Client()

    async with client:
        weapons = await client.fetch_weapons()
        for weapon in weapons:
            print(weapon.display_name)
            print(weapon.display_name.ja_JP)
            print(weapon.display_name.japanese)
            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.0.0a0.tar.gz (22.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.0.0a0-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

Details for the file valorant_py-2.0.0a0.tar.gz.

File metadata

  • Download URL: valorant_py-2.0.0a0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for valorant_py-2.0.0a0.tar.gz
Algorithm Hash digest
SHA256 930cc91022aeb4f98088b52671b4f9c6c57a3622463e598820165f69d56c2d5c
MD5 07736c13e06a1e70f2791b6a4dc33309
BLAKE2b-256 72a62f3269dfaaab4182f809d4f46232dec5039dfa65c987e491721c2d92b25c

See more details on using hashes here.

File details

Details for the file valorant.py-2.0.0a0-py3-none-any.whl.

File metadata

  • Download URL: valorant.py-2.0.0a0-py3-none-any.whl
  • Upload date:
  • Size: 42.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for valorant.py-2.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 6603c1dea9ba31d064491e391d8f34bf6a642187f77488e7d72c9597f95db115
MD5 9e400b1e4c2d2c394dcad31ce1255123
BLAKE2b-256 4612b6cc5b4161e52eef8a2d682a9bcdd7a3541cf0938f88ae758b30e990b2a9

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