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.
- Host: GitHub
- URL: https://github.com/staciax/riot-auth
- Owner: staciax
- Created: 2024-12-25T15:14:29.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-04T17:18:21.000Z (over 1 year ago)
- Last Synced: 2025-01-04T18:23:08.235Z (over 1 year ago)
- Topics: authentication, python, python311, python312, python313, riot-games-api
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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())
```