https://github.com/jackenmen/rlapi
Async ready API wrapper for Rocket League API written in Python.
https://github.com/jackenmen/rlapi
asyncio python rlapi rocket-league rocket-league-api
Last synced: about 2 months ago
JSON representation
Async ready API wrapper for Rocket League API written in Python.
- Host: GitHub
- URL: https://github.com/jackenmen/rlapi
- Owner: Jackenmen
- License: apache-2.0
- Created: 2019-05-17T20:42:33.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T19:43:47.000Z (about 3 years ago)
- Last Synced: 2024-05-02T02:13:28.183Z (about 1 year ago)
- Topics: asyncio, python, rlapi, rocket-league, rocket-league-api
- Language: Python
- Homepage: https://rlapi.rtfd.io/en/latest
- Size: 137 KB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# rlapi
> Async ready API wrapper for Rocket League API written in Python.[](https://github.com/sponsors/Jackenmen)
[](https://rlapi.readthedocs.io/en/latest/)
[](https://github.com/psf/black)
[](https://opensource.org/licenses/Apache-2.0)
[](http://makeapullrequest.com)> **Rocket League API is currently in closed beta and Psyonix doesn't give out access to it easily.**
>
> To request API access, you should contact Psyonix by email [email protected] and hope for positive response.## Installation
**Python 3.8 or higher is required**
To install the library, you can just run the following command:
```sh
# Linux/OS X
python3.8 -m pip install -U rlapi# Windows
py -3.8 -m pip install -U rlapi
```To install the development version, replace `rlapi` with `git+https://github.com/Jackenmen/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:
```py
import asyncioimport rlapi
async def main():
client = rlapi.Client(client_id="client id", client_secret="client secret")
players = await client.get_player("kuxir97", None)asyncio.run(main())
```## Documentation
Read [rlapi's documentation](https://rlapi.readthedocs.io/en/latest/).
## Contributing
Please take a look at our [contributing guidelines](https://github.com/Jackenmen/rlapi/blob/main/.github/CONTRIBUTING.md) if you're interested in helping!
## License
Distributed under the Apache License 2.0. See ``LICENSE`` for more information.
This project bundles [lxml-stubs](https://github.com/JelleZijlstra/lxml-stubs) which are distributed on Apache License 2.0
Contributing guidelines and issue templates are taken from [discord.py project](https://github.com/Rapptz/discord.py)
---
> Jakub Kuczys ·
> GitHub [@Jackenmen](https://github.com/Jackenmen)