Python SDK for the Rimble Raw Data API — esports data for LoL, CS:GO, DOTA 2, Valorant, and more.
Project description
Rimble Python SDK
Python client for the Rimble Raw Data API — real-time esports data across 10 titles.
Installation
pip install rimble
Quick Start
from rimble import RimbleClient
client = RimbleClient(api_key="YOUR_API_KEY")
# Get upcoming League of Legends matches
matches = client.get_upcoming_matches("lol")
for match in matches:
print(f"{match['team_1_name']} vs {match['team_2_name']} — {match['date']}")
Filtering with Query Parameters
# Filter by date
matches = client.get_upcoming_matches("csgo", date="2024-03-15")
# Filter by team
matches = client.get_upcoming_matches("valorant", team="Sentinels")
# Filter by league
matches = client.get_completed_matches("lol", league="LCS")
# Multiple filters
matches = client.get_completed_matches("dota2", date="2024-03-10", team="OG")
Available Methods
| Method | Description |
|---|---|
get_upcoming_matches(sport, **params) |
Upcoming matches |
get_live_matches(sport, **params) |
Currently live matches |
get_completed_matches(sport, **params) |
Completed matches (last 5 days) |
get_match_status(sport, matchid, **params) |
Status of a specific match |
get_league_mappings(sport, **params) |
League/tournament directory |
get_teams(sport, **params) |
Team directory |
get_players(sport, **params) |
Player directory |
Supported Esports
lol, csgo, dota2, valorant, rocketleague, cod, nba2k, fifa, siege, cricket
Error Handling
from rimble import RimbleClient, RimbleAPIError
client = RimbleClient(api_key="YOUR_API_KEY")
try:
matches = client.get_upcoming_matches("lol")
except RimbleAPIError as e:
print(f"API error: {e.status_code} — {e.message}")
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rimble-0.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rimble-0.1.0.tar.gz.
File metadata
- Download URL: rimble-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bba3f5af93ff3b035be45260082953ff7d07a5fc59e4d4a83ef71aa3a2aa3d9f
|
|
| MD5 |
1d8b1462a25b43961aa37a7b2934e602
|
|
| BLAKE2b-256 |
e940aa873bcd2b9338805bb551b5a542f21c3d16c8efd0f880c616c9b72d7573
|
File details
Details for the file rimble-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rimble-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06fd710bf84c1a62bb7868b0ec9919c314255f7d630b96412b4423989200e4fb
|
|
| MD5 |
0cc643eb741e7fb3985a76bb14521039
|
|
| BLAKE2b-256 |
794f8e2bcad7132001a9cec6a5b3a8b3d2b4c2622135cd177e83509548257c42
|