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.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PoroPilot-0.2.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for PoroPilot-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3e30088c980920d39463d4cc67fddfb321122baf8f2b8f6714c544ad988e53e6
MD5 447a65073ba15c07ace163070ed64490
BLAKE2b-256 ac42704600e612fcf1ddcdb88a5013544a4ca34ea89fcb9eef94a0e30b99d312

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PoroPilot-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for PoroPilot-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca11d8a66e7634ebbc9351a51fbdef142db5d9ab3b8f447c3d663f348de64710
MD5 47d3ca0c6da4abe248654942ff87a8a6
BLAKE2b-256 15dd41ba3a596d6d554cf4621ea215f6cf8f04c87140948fb4baa77469b5affc

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