No project description provided
Project description
ValLocal
A Python module for interacting with the RiotClient local api.
Features
- Automated lockfile grabbing
- Request method
- Riot auth
Installation
The preferred method of installation is through pip but if you know better use the package manager that you want.
pip install ValLocal
Reference
Basic structure
ValLib contains this basic building blocks:
LockFilea dataclass containing the lockfile data
And the following methods:
get_lockfileto get the lockfile as aLockFileinstancelocal_apito make requests to the RiotClient, usingLockFilelocal_authto get riot auth, usingLockFile
Ussage
import ValLocal
lock = ValLocal.get_lockfile()
api_help = ValLocal.local_api(lock, "GET", "/help").text
print(api_help)
Auth
Getting auth for remote endpoints
import ValLocal
lock = ValLocal.get_lockfile()
auth = ValLocal.local_auth(lock)
This is the same auth as ValLib ExtraAuth and it can be used both in ValLib api and ValWrap endpoints.
Roadmap
- Async
- WebSockets
- Better documentation
Acknowledgements
- Thanks to Techdoodle for his API docs
- Thanks to the Valorant App Developers discord
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ValLocal-0.1.1.tar.gz.
File metadata
- Download URL: ValLocal-0.1.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d06b23cf2b8a4f5ba61e111c0e7ca15324c02929baac46c64f00abbfab13941f
|
|
| MD5 |
7baf98e07af426b773e4c35c0df4e75a
|
|
| BLAKE2b-256 |
e8f0f763d4f07be450995586ab25e0903ecba91cbc1e7c50caa744b13d7e1f44
|
File details
Details for the file ValLocal-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ValLocal-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2422c927cfd7c8049a66d197a4be314d9e551b3e0fad2f78f17500b3314397b2
|
|
| MD5 |
e22608d5971f430bd8747704205223a4
|
|
| BLAKE2b-256 |
31025b73990a6b04cf8354dc7722be8321536cae72e826597dbcc1fb2bc4daf1
|