Initial commit of AthonetTools

This commit is contained in:
2025-08-21 12:59:43 +00:00
commit cd932b8fcb
2483 changed files with 433999 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
from .client import ComboCoreClient
# Minimal PLS surface to start
def login(host: str, user: str, pwd: str, verify_ssl=False, timeout=10.0) -> str:
return ComboCoreClient(host, user, pwd, verify_ssl, timeout).login()
def get_me(host: str, user: str, pwd: str, verify_ssl=False, timeout=10.0) -> dict:
cli = ComboCoreClient(host, user, pwd, verify_ssl, timeout)
return cli.get("/core/pls/api/1/auth/me") # adjust if different