Metadata-Version: 2.1
Name: valorant-api
Version: 0.0.2
Summary: Python wrapper for valorant-api.com
Home-page: https://github.com/MinshuG/valorant-api
Author: MinshuG
License: MIT
Keywords: valorant,valorant-api.com
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
Requires-Dist: python-dateutil
Requires-Dist: aiohttp
Requires-Dist: requests
Requires-Dist: Pillow

# valorant_api
python wrapper for valorant-api.com

# Installation
`pip install git+https://github.com/MinshuG/valorant-api` \
or \
`pip install valorant-api`

# Usages
```py
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")
```

# Requirements

* python-dateutil
* aiohttp
* requests
* setuptools
* Pillow

