Skip to main content

valorant-api

A Python wrapper for valorant-api.com

pypi Downloads

Installation

pip install valorant-api

Usages

# this code is just for reference

from valorant_api import SyncValorantApi, AsyncValorantApi

#sync
api = SyncValorantApi(language="ru-RU")
agents = api.get_agents()

#Async
api = AsyncValorantApi(language="ru-Ru")
agents = await api.get_agents()

# searching
agent = agents.find_where(displayname="Raze", developerName="Gumshoe")
agent = agents.find_first(displayname="Raze")

# agents image generation
from valorant_api import generators

font_file = r"valorant_api\fonts\Valorant Font.ttf"
# initialize class
generator = generators.AgentImageGenerator(font_file)
# generator actual image
image = await generator.generate(agent)
# save the image
image.save("image.png", "PNG")

Agents Image Example

KAY/O

Requirements

  • python-dateutil
  • aiohttp
  • requests
  • Pillow

Metadata

Release files for valorant-api 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for valorant-api 0.1.2
File Size Uploaded Provenance Actions
valorant-api-0.1.2.tar.gz 1.6 MB Without provenance Details for valorant-api-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for valorant-api 0.1.2
File Interpreter ABI Platform Actions
valorant_api-0.1.2-py3-none-any.whl Python 3 none any Details for valorant_api-0.1.2-py3-none-any.whl

Total release size: 1.6 MB

Release files / valorant-api-0.1.2.tar.gz

Download URL valorant-api-0.1.2.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
9deb0571ad53a8c749fe2667a9e9aa2582704511d76907b6ec70947f151c2ccf
BLAKE2b-256 checksum
How to use checksums
f9c1ab9828e2379fc4c462ba855dadbcceccd456a1cb6f0008955136c56489c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / valorant_api-0.1.2-py3-none-any.whl

Download URL valorant_api-0.1.2-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da42a20eb387b0b7b9dd5e8d9970513ee5af2165f72173b6c4628bed4e3d8713
BLAKE2b-256 checksum
How to use checksums
8779b1a4db357ada8051f733ca85fd396c73a9a9a78e97a04cb6625f47a781db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for valorant-api 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page