ryze
League of Legends Games Update Unofficial API wrapper. Scraper included for page content.
Installation
$ pip install ryze
Example
import json
from ryze import get_game_updates
# get all the game updates page data
game_updates_page = get_game_updates('en-us')
# print the game updates page title
print(game_updates_page.title)
# Updates for LOL start with 'Patch' word, so we filter for it
league_updates = game_updates_page.updates.by_title_name_re(r'^Patch')
# loop over all updates
for update in league_updates:
with open(f'patches/{update.title}.json', 'w') as f:
f.write(json.dumps(update.get_full_data().patch.parse_content()))
Endorsement
lcu-driver isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.
Metadata
Release files for ryze 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ryze-0.0.1.tar.gz | 3.9 kB | Without provenance | Details for ryze-0.0.1.tar.gz |
Release files / ryze-0.0.1.tar.gz
| Download URL | ryze-0.0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc77cf756d555522028628991445f39882028b9cad7750d59a37542afc48618d
|
|
BLAKE2b-256 checksum How to use checksums |
8082aa1639f2285a4db68f16967cae4f52c9567fbc06be38bde1fb4dbadb744b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for ryze 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.