An unofficial synchronous client package for interacting with Riot Games' Valorant API endpoints.
Project description
valorant.py
An unofficial synchronous client package for interacting with Riot Games' Valorant API endpoints.
Installation
pip: pip install valorant
easy_install: easy_install valorant
poetry: python -m poetry add valorant
Usage
Quickstart Guide:
import os
import valorant
KEY = os.environ["KEY"]
client = valorant.Client(KEY, locale=None)
maps = client.get_maps()
agents = client.get_characters()
print(agents.get("Viper"))
print(maps.get("Ascent"))
Documentation
Contributing
Contributions are always welcome! There currently isn't a contribution guide, but bug reports, additional endopint coverage, and other fun stuff is always welcome in issues!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
valorant-0.1.7.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file valorant-0.1.7.tar.gz
.
File metadata
- Download URL: valorant-0.1.7.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd08e3de106da29948fcbb270a078b1a6bbbf916ebcfac4f8aa55a5ba4400ea |
|
MD5 | c3d4746065e044f3294dda5c3db88268 |
|
BLAKE2b-256 | 442782ae0ed15e003f7d3a7059c593eec60313ed5dfcd516e1ee1cd84cd0572a |
File details
Details for the file valorant-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: valorant-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b5e5380ea9c99ea1b8929b6ba834e51a130e2fc4f7e3da2989ec839ae2cdcc7 |
|
MD5 | cc76797791ca9be1247e97d5f5deef1a |
|
BLAKE2b-256 | c785990be8c17ad9b5532efed1648fae8954f77cc1cba3bdaa6b9b7e1490e11a |