Metadata-Version: 2.4
Name: OpenMLBB
Version: 4.0.3
Summary: Official Python SDK for the MLBB Public Data API
Author: ridwaanhall
License: BSD-3-Clause
Project-URL: Homepage, https://mlbb.rone.dev
Project-URL: Documentation, https://mlbb.rone.dev/api/docs
Project-URL: Repository, https://github.com/ridwaanhall/api-mobilelegends
Project-URL: Issues, https://github.com/ridwaanhall/api-mobilelegends/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi[standard]>=0.135.2
Requires-Dist: requests<3,>=2.32.0
Requires-Dist: cryptography==46.0.7
Dynamic: license-file

# OpenMLBB Python SDK

OpenMLBB is the official Python SDK for `https://mlbb.rone.dev/api`.

## Install

```bash
pip install OpenMLBB
```

## Quick Start

```python
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(...)`.
