PiholeClient dataclass supporting both Pi-hole v5 (PHP /admin/api.php) and v6 (REST /api/) with public block/unblock/test_connection methods. 9 tests covering both API versions, auth flow, and error handling. |
||
|---|---|---|
| .. | ||
| api | ||
| context | ||
| ingest | ||
| services | ||
| watch | ||
| __init__.py | ||
| mcp_server.py | ||
| rest.py | ||