Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/staciax/valorant
An API wrapper for Valorant-API.com written in Python.
https://github.com/staciax/valorant
asynchronous python python3 valorant valorant-api
Last synced: about 1 hour ago
JSON representation
An API wrapper for Valorant-API.com written in Python.
- Host: GitHub
- URL: https://github.com/staciax/valorant
- Owner: staciax
- License: mit
- Created: 2023-08-08T09:52:40.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-13T18:25:31.000Z (10 months ago)
- Last Synced: 2024-04-14T08:52:20.736Z (10 months ago)
- Topics: asynchronous, python, python3, valorant, valorant-api
- Language: Python
- Homepage:
- Size: 190 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# valorant
An API wrapper for [Valorant API](https://valorant-api.com) written in Python.## Features
- Supports all endpoints. (includes undocumented endpoints)
- Fully type annotated.
- [Pydantic V2](https://docs.pydantic.dev/latest/) 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
```py
import asyncio
import valorantasync 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](LICENSE) file for details.## Links
- [Valorant API](https://valorant-api.com)
- [Official Discord Server](https://discord.com/invite/9V5MWgD)