Minimal Go client example for calling an aiograpi-rest server over HTTP.
This is an integration example, not a generated OpenAPI SDK.
Start the API first:
docker run --rm -p 8000:8000 subzeroid/aiograpi-restgo build client.go./clientTo call authenticated endpoints, pass an existing aiograpi-rest session:
AIOGRAPI_REST_SESSIONID="<SESSIONID>" AIOGRAPI_REST_USER_ID="25025320" ./clientOr let the example create a session first:
AIOGRAPI_REST_USERNAME="<USERNAME>" AIOGRAPI_REST_PASSWORD="<PASSWORD>" ./client