Skip to main content

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 UrlBuilderfor 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

PoroPilot-0.2.6.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

PoroPilot-0.2.6-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file PoroPilot-0.2.6.tar.gz.

File metadata

  • Download URL: PoroPilot-0.2.6.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

Hashes for PoroPilot-0.2.6.tar.gz
Algorithm Hash digest
SHA256 92920f68a65e7f126d0f151ddc75c20486ad1f5b89ce41874444abbf255abf0e
MD5 e4b8b22090272cee7874d9a1b2f9f72c
BLAKE2b-256 753d913b112f6676448463cd05293f9a8498c0b4b312ba1cc276ca17b464527d

See more details on using hashes here.

File details

Details for the file PoroPilot-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: PoroPilot-0.2.6-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

Hashes for PoroPilot-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 32c4da3a256e7ae1bc0a97f982485cbc935722208827f7133155240d34880abc
MD5 3a19c7c7a61b1991363c6bdd42ab8f16
BLAKE2b-256 4c9b54ed4f7592876ca0bf52dac7330b4a9c659149aabb1ef90aac8c2b04ab08

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