Wrapper Interface for Riot API
Project description
💫 PoroPilot 💫
Riot API made easy
🚀 Features
PoroPilot is a Python library designed to simplify interactions with the Riot Games API. With a suite of classes tailored for ease of use, here’s what PoroPilot offers:
-
PoroPilot: Your primary interface to the Riot API, handling initialization of essential details like the API key, region, and debug mode.
-
RequestHandler: Manages the creation of requests to the Riot Games API, utilizing
UrlBuilder
for URL construction. -
MatchApi and SummonerApi: Facilitate querying of match and summoner information, respectively.
🛠️ Usage
Initially, you can start with main.py
, but this approach will be phased out in future versions.
Here's a quick start guide to get you up and running:
from poropilot import PoroPilot
# Initialize PoroPilot with your API key and region
euw1_pp = PoroPilot(api_key="your_api_key", region="euw1")
# Fetch match details by its ID
match_info = euw1_pp.match.by_match_id(match_id="your_match_id")
# Fetch player details by summoner name
summoner_info = euw1_pp.summoner.by_name(summoner_name="your_summoner_name")
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
File details
Details for the file PoroPilot-0.2.3.tar.gz
.
File metadata
- Download URL: PoroPilot-0.2.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c77986329d55113fb6b2743801a0c932e82363d050e9e3b16c4ec00cbb98354 |
|
MD5 | 836b097f59fa7833b17a7ca5e553f6ce |
|
BLAKE2b-256 | ad7ad48b8f47db830cf7b503c52fd3b6aa835a9fe0a38ca619d3ba00f6ec47f7 |
File details
Details for the file PoroPilot-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: PoroPilot-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9463dff95a3dc7349af530cc115cd7bb8a643911188228fa84ee21508be065 |
|
MD5 | 1552b114efc7cbccf6790f69632d14af |
|
BLAKE2b-256 | f478784f9b9c5d7e274d12f1f4d36cbf5299c0a2aca7b8afc6fea5866f32b9ad |