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
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
Hashes for PoroPilot-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d56b2a24192cef122c57a33c6e6bd324ee74ccd22b79311d1bce1c8302ccef |
|
MD5 | f633e27448225b904d850ac4aa65cc96 |
|
BLAKE2b-256 | dd7e88ddeefca6378ae0e3b1c50d27021b26be920c2f226e20d9476ee3e78b08 |