Skip to content

A simple Python library for riot account authorization with cookies.

Notifications You must be signed in to change notification settings

staciax/riot-auth

Repository files navigation

riot-auth

A simple Python library for riot account authorization with cookies. this project forked from python-riot-auth by floxay

Installation

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

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

Usage

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())

About

A simple Python library for riot account authorization with cookies.

Topics

Resources

Stars

Watchers

Forks