An open API service indexing awesome lists of open source software.

https://github.com/staciax/riot-auth

A simple Python library for riot account authorization with cookies.
https://github.com/staciax/riot-auth

authentication python python311 python312 python313 riot-games-api

Last synced: 9 months ago
JSON representation

A simple Python library for riot account authorization with cookies.

Awesome Lists containing this project

README

          

## riot-auth
A simple Python library for riot account authorization with cookies.
this project forked from [python-riot-auth](https://github.com/floxay/python-riot-auth) by [floxay](https://github.com/floxay)

## Installation

```bash
# pip
pip install git+https://github.com/staciax/riot-auth.git

# uv
uv add git+https://github.com/staciax/riot-auth.git
```

## Usage

```python
import asyncio

from riot_auth import RiotAuth

# How to get cookies
# https://github.com/giorgi-o/SkinPeek/wiki/How-to-get-your-Riot-cookies

async def main():
auth = RiotAuth()

cookies = 'your riot account cookies'

await auth.redeem_cookies(cookies)

print(auth.access_token)

asyncio.run(main())
```