Official Python SDK for the MLBB Public Data API
Project description
OpenMLBB Python SDK
OpenMLBB is the official Python SDK for https://mlbb.rone.dev/api.
Install
pip install OpenMLBB
Quick Start
from OpenMLBB import OpenMLBB
client = OpenMLBB()
heroes = client.mlbb.heroes(size=5, index=1, order="desc", lang="en")
academy_roles = client.academy.roles(lang="en")
win_rate = client.addon.win_rate_calculator(match_now=100, wr_now=50, wr_future=60)
print(heroes)
print(academy_roles)
print(win_rate)
Every SDK method returns API JSON as a Python dictionary.
User-Agent
The default User-Agent is:
RoneAI-OpenMLBB-Python-SDK
You can override it by passing user_agent= to OpenMLBB(...).
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
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 openmlbb-4.0.3.tar.gz.
File metadata
- Download URL: openmlbb-4.0.3.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ede4827ed3e32d1ae4499e2d343670fec843bb90d202ae44a91aecb0d72d4d8
|
|
| MD5 |
815d7d506a610954111385c9fbb1653a
|
|
| BLAKE2b-256 |
6e49571d9ef1593c4737403fc22bebd35cc0ee23bf0b1c20c605a55ba07aa1cc
|
Provenance
The following attestation bundles were made for openmlbb-4.0.3.tar.gz:
Publisher:
python-publish.yml on ridwaanhall/api-mobilelegends
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openmlbb-4.0.3.tar.gz -
Subject digest:
1ede4827ed3e32d1ae4499e2d343670fec843bb90d202ae44a91aecb0d72d4d8 - Sigstore transparency entry: 1277775307
- Sigstore integration time:
-
Permalink:
ridwaanhall/api-mobilelegends@809df2cd2fae2d16337910ad2321faea43920074 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ridwaanhall
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@809df2cd2fae2d16337910ad2321faea43920074 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openmlbb-4.0.3-py3-none-any.whl.
File metadata
- Download URL: openmlbb-4.0.3-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fe61078fb773e0463834ce347db990610d761046e56623f3b972a05da8f44ef
|
|
| MD5 |
3e7b1bb9d09aeb3db8c8a500c37ed95b
|
|
| BLAKE2b-256 |
19aaeb01b1ebbf1412c79b0f85fa0272635a35bd7bf4d24c5fa1371a5cb117de
|
Provenance
The following attestation bundles were made for openmlbb-4.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on ridwaanhall/api-mobilelegends
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openmlbb-4.0.3-py3-none-any.whl -
Subject digest:
4fe61078fb773e0463834ce347db990610d761046e56623f3b972a05da8f44ef - Sigstore transparency entry: 1277775355
- Sigstore integration time:
-
Permalink:
ridwaanhall/api-mobilelegends@809df2cd2fae2d16337910ad2321faea43920074 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ridwaanhall
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@809df2cd2fae2d16337910ad2321faea43920074 -
Trigger Event:
push
-
Statement type: