Metadata-Version: 2.4
Name: marketmaster
Version: 0.1.0
Summary: Official Python SDK for the MarketMaster prediction-market data API (Kalshi, Polymarket, and more).
License: MIT
Project-URL: Homepage, https://marketmaster.live/developers
Keywords: marketmaster,prediction-markets,kalshi,polymarket,arbitrage,api
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# marketmaster (Python SDK)

Official Python SDK for the [MarketMaster](https://marketmaster.live/developers) prediction-market data API. Zero dependencies.

## Install
```bash
pip install marketmaster
```

## Quickstart
```python
from marketmaster import MarketMaster

mm = MarketMaster(api_key="mmk_live_...")

edges = mm.edges(platform="kalshi", min_edge=5, limit=10)["edges"]
arbs  = mm.arbitrage(min_spread=2)["opportunities"]
whale = mm.whales(min=10000)["trades"]
one   = mm.market("kalshi", "PRES-2028-DEM")
me    = mm.status()
```

## Methods
`edges(**kw)`, `markets(**kw)`, `market(source, id)`, `arbitrage(**kw)`, `whales(**kw)`, `status()` — see https://marketmaster.live/developers for params & fields.

Errors raise `MarketMasterError` with `.status`, `.code`, `.retry_after`.

Get a key at https://marketmaster.live/dashboard
