Skip to main content

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)

Source distribution for ryze 0.0.1
File Size Uploaded
ryze-0.0.1.tar.gz 3.9 kB Details

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

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page