Skip to main content

Liquipedia Rocket League API Wrapper

Project description

LiquipediaRL

LiquipediaRL is a Python wrapper for the Liquipedia Rocket League site

This wrapper uses the official Liquipedia (MediaWiki) API and abides by the TOS


Installation

pip install liquipediarl

Examples

from liquipediarl import LiquipediaRL

lp = LiquipediaRL(
    app_name="App Name",
    app_version="1.0.0",
    website="https://example.com",
    email="you@example.com"
)

get_player()

# Gets info for a specified player page
player = lp.get_player("SquishyMuffinz")
# Player names are as they appear in the URL:
# https://liquipedia.net/rocketleague/SquishyMuffinz

print(player.keys())
print(player['info']['earnings'])
print(player['settings']['camera'])

get_all_players()

# Gets all the players from a specified region
players = lp.get_all_players("Oceania")
# Regions are as follows:
# Africa, Americas, Asia, Europe, Oceania

# Or use 'all=True' to get all regions at once
all_players = lp.get_all_players(all=True)
# Note: returns 1 page per 30 secs to comply with rate limits

print(len(players))
print(players[:5])

PyPI version Python License: MIT

@8pq8

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liquipediarl-1.0.6.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

liquipediarl-1.0.6-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file liquipediarl-1.0.6.tar.gz.

File metadata

  • Download URL: liquipediarl-1.0.6.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for liquipediarl-1.0.6.tar.gz
Algorithm Hash digest
SHA256 99e9d8363748fa986916f33253c013683e61549e3b900d332d4dd546710dbeb7
MD5 4a50455e21222986b95540716c8026c9
BLAKE2b-256 6cd3ea0adce4e63b5b99a65cd4e267b0c2f0fc76a27adec1e3350835a78ae83d

See more details on using hashes here.

File details

Details for the file liquipediarl-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: liquipediarl-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for liquipediarl-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 46d4274f65b62e1e57bbe811e092f71e60f805afb10841830de31d0de4b62ee1
MD5 9a860bc950f9ad841767733f9f107ca9
BLAKE2b-256 3e1d5cf5c6a417945507894b4bae8da13af5c2e4ce8333589ff16b8105e60947

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page