Metadata-Version: 2.4
Name: dsmp-api-wrapper
Version: 1.0.4
Summary: DonutSMP Public API wrapper (C++ backend)
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: pybind11>=2.10
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# dsmp-api-wrapper

DonutSMP Public API wrapper with a C++ backend (libcurl + nlohmann/json) exposed to Python via pybind11. Uses persistent keep-alive connections for fast repeated polling.

## Requirements

- Python 3.8+
- CMake 3.14+
- libcurl (`apt install libcurl4-openssl-dev`)
- nlohmann-json (`apt install nlohmann-json3-dev`)

## Installation

```bash
pip install dsmp-api-wrapper
```

## Usage

```python
from dsmp_api_wrapper import Client

client = Client("your-api-key")

stats  = client.stats("SomePlayer")
lookup = client.lookup("SomePlayer")
top    = client.lb_kills()
auctions = client.auction_list(search="diamond", sort="lowest_price")
```
