Metadata-Version: 2.4
Name: spherylands-auction
Version: 0.1.0
Summary: Lightweight Python client for the Spherylands Auction App API
Author: Technology Peak
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: httpx<1.0.0,>=0.27.0

# spherylands-auction

Small Python client for the Auction App API (~4 source files, **httpx** only).

API schemas live in [`openapi/auction-app.openapi.json`](../../openapi/auction-app.openapi.json). Request/response bodies are plain JSON (`dict` / `list`).

## Install

**From GitHub Releases** (recommended): download the `.whl` from the latest
[`python-sdk-v*`](https://github.com/TechnologyPeak/SpherylandsAuctionApp/releases) release, then:

```bash
pip install path/to/spherylands_auction-0.1.0-py3-none-any.whl
```

**Local build:**

```bash
python ../../Scripts/build_python_sdk_wheel.py --clean
pip install ../dist/*.whl
```

**Editable (development):**

```bash
pip install -e .
```

## Usage

```python
from spherylands_auction import AuctionClient, AuctionAPIError

client = AuctionClient(
    "https://dev-auction-api.technologypeak.co.in",
    api_key="your-workspace-api-key",
)

# Auth
client.login({"email_id": "user@example.com", "password": "secret"})

# Profile (Bearer set automatically after login)
me = client.get_me()

# Auctions
auctions = client.list_auctions()

# Or call any path directly
client.post("/v1/auction", json={...})
```

## Build wheel

From repo root:

```bash
python Scripts/build_python_sdk_wheel.py --clean
```
