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.7.tar.gz
.
File metadata
- Download URL: PoroPilot-0.2.7.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c1bdb62488b7a19a5da3eb7f11dee4c4c017538603655a52c34156d493fe7f0 |
|
MD5 | 523d61b205e5e47ca570fd7417f487ad |
|
BLAKE2b-256 | 1d10dee46e494e9129563c5c36765bbc8c2a23dbdb7b3ff2784415a1c8580bf5 |
File details
Details for the file PoroPilot-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: PoroPilot-0.2.7-py3-none-any.whl
- Upload date:
- Size: 9.6 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 | 30760cf027aec5e0b89218b9af270a7430775617f3dce542809e996a758639a3 |
|
MD5 | dbc9ca8fd21b7bd1f4bec5bb5f9174af |
|
BLAKE2b-256 | b05030d7384a3001120700dd1fe1c0b0fee91a28fc2e185d1630e7e90c34201c |