Skip to main content

No project description provided

Project description


Logo

PyValo

Unofficial Valorant API for Python

https://pypi.org/project/pyvaloapi/1.1.8/

Contributors Issues License

Install PyValo API Via PIP package manager

pip install pyvaloapi

What's new!

Ping a specific valorant server via the get_valorant_server_ping(region) method from the UnofficialAPI Class.

Table Of Contents

About The Project

Unofficial Valorant API that interacts with the Riot Client.

Getting Started

Prerequisites

  • Requests module required for the Request class.
pip install requests #On Windows
pip3 install requests #On Linux/Mac

Setting Up

  1. Clone the repo
git clone https://github.com/YASSINE-AA/PyValo
  1. Start Coding!

Usage

Initialize the client class

from pyvaloapi import ValorantClient
client = ValorantClient()

Initialize the Unofficial API class

unofficial_api = client.unofficial_api()

Example of an instalock bot

DO NOT USE THIS FOR INSTALOCKING

In this example we're locking the agent "Jett".

from pyvaloapi import ValorantClient
client = ValorantClient()
unofficial_api = client.unofficial_api()
while("MatchID" not in unofficial_api.get_current_pregame(unofficial_api.get_current_player_puuid())): pass
unofficial_api.lock_pregame_agent("add6443a-41bd-e414-f6ad-e58d267f4e95")

Happy Coding!

Authors

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

pyvaloapi-1.1.8.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

pyvaloapi-1.1.8-py3-none-any.whl (16.7 kB view hashes)

Uploaded Python 3

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