Metadata-Version: 2.4
Name: vbot-api
Version: 1.0.0
Summary: Zero-dependency Python client for the VBot API at api.vbot.de5.net
Author-email: VBot <vexify@yeah.net>
License: MIT
Project-URL: Homepage, https://api.vbot.de5.net/
Project-URL: Issues, https://github.com/vexify-build/password-forge/issues
Keywords: vbot,api,client,devtools
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# vbot-api

Zero-dependency Python client for the **VBot API** at `https://api.vbot.de5.net`.

Pure standard library — no `requests`, no `httpx`, nothing to install besides you.

## Install

```bash
pip install vbot-api
```

## Quickstart

```python
from vbot_api import VBotAPI

api = VBotAPI()                      # https://api.vbot.de5.net
api.status()                         # {"ok": true, "online": true, ...}
api.quote()                          # random developer quote
api.quote(author="Knuth")            # filtered by author
api.time(tz="America/New_York")      # server time, any IANA tz
api.echo(hello="world")              # request echo (debug)
api.echo(body={"k": 1}, method="POST")  # POST a JSON body
api.health()                         # True / False
```

## CLI

```bash
python -m vbot_api status
python -m vbot_api quote --author Knuth
python -m vbot_api time --tz Asia/Tokyo
python -m vbot_api endpoints
```

## TLS note

The API host currently serves a certificate issued to a sibling domain, so
certificate verification is **off by default**. Enable it once a matching
certificate is installed:

```python
VBotAPI(verify_ssl=True)
# or
export VBOT_API_VERIFY=1
```

## Configuration

| Env var | Effect |
| --- | --- |
| `VBOT_API_BASE` | Override the API origin |
| `VBOT_API_VERIFY` | `1`/`true` → verify TLS certificates |

## Endpoints

| Path | Description |
| --- | --- |
| `/` | API manifest |
| `/status` | Service health + uptime |
| `/quote` | Random developer quote (`?author=` to filter) |
| `/time` | Current time in several formats (`?tz=`) |
| `/echo` | Echo back params, body, headers and IP |

## License

MIT
