Skip to main content

No project description provided

Project description

ValLocal

GitHub

A Python module for interacting with the RiotClient local api.

Features

  • Automated lockfile grabbing
  • Request method

Installation

The preferred method of installation is through pip but if you know better use the package manager that you want.

pip install git+https://github.com/ValUtils/ValLocal.git

Reference

Basic structure

ValLib contains this basic building blocks:

  • LockFile a dataclass containing the lockfile data

And the following methods:

  • get_lockfile to get the lockfile as a LockFile instance
  • local_api to make requests to the RiotClient, using LockFile
  • local_auth to get riot auth, using LockFile

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ValLocal-0.1.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

ValLocal-0.1.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file ValLocal-0.1.0.tar.gz.

File metadata

  • Download URL: ValLocal-0.1.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for ValLocal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 14c4491f5fcb90b55516357a768128a0b943bfbaab93ad985b748eb71619b7ef
MD5 06251dbef735796339d319f84a396ca8
BLAKE2b-256 bf9016fbc0b97f368fd889a353f3fbcc37afd857e9b5eda16d9d560986d2a55f

See more details on using hashes here.

Provenance

File details

Details for the file ValLocal-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ValLocal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for ValLocal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02959f7b1aba646403e7996467d16148c0cecd0b3fc7ebbe9f8b2ec2e54f21b3
MD5 f253e70ad2dffad1a6fb9f463758ee10
BLAKE2b-256 3c530fe17fc02e45b6334b7028732543d9f2502b600b0afe165bf16399350ab4

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page