Skip to main content

Async ready API wrapper for Rocket League API

Project description

rlapi

Async ready API wrapper for Rocket League API written in Python.

Build Status Documentation Status Code style: black License: MIT PRs Welcome

Installation

Python 3.7 or higher is required

To install the library, you can just run the following command:

# Linux/OS X
python3.7 -m pip install -U rlapi

# Windows
py -3.7 -m pip install -U rlapi

To install the development version, replace rlapi with git+https://github.com/jack1142/rlapi

Usage example

You can easily create a client using the class Client. Here's simple example showing how you can get player stats with this library:

import asyncio
import rlapi


loop = asyncio.get_event_loop()

client = rlapi.Client('token')
players = loop.run_until_complete(
    client.get_player('kuxir97', rlapi.Platform.steam)
)

Documentation

Read rlapi's documentation.

Contributing

Please take a look at our contributing guidelines if you're interested in helping!

License

Distributed under the MIT license. See LICENSE for more information.

This project bundles lxml-stubs which are distributed on Apache License 2.0

Contributing guidelines and issue templates are taken from discord.py project


Jakub Kuczys  ·  GitHub @jack1142

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

rlapi-0.4.0a1.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

rlapi-0.4.0a1-py3-none-any.whl (15.0 kB view hashes)

Uploaded Python 3

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