Skip to main content

No project description provided

Project description

ValLocal

PyPI - Version GitHub deployments GitHub

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:

  • 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.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

ValLocal-0.1.1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

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

Hashes for ValLocal-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d06b23cf2b8a4f5ba61e111c0e7ca15324c02929baac46c64f00abbfab13941f
MD5 7baf98e07af426b773e4c35c0df4e75a
BLAKE2b-256 e8f0f763d4f07be450995586ab25e0903ecba91cbc1e7c50caa744b13d7e1f44

See more details on using hashes here.

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

Hashes for ValLocal-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2422c927cfd7c8049a66d197a4be314d9e551b3e0fad2f78f17500b3314397b2
MD5 e22608d5971f430bd8747704205223a4
BLAKE2b-256 31025b73990a6b04cf8354dc7722be8321536cae72e826597dbcc1fb2bc4daf1

See more details on using hashes here.

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