CLI and Python SDK
All three live in this repo (not published to a package index): stdlib-only CLI and Python SDK, and a dependency-free TypeScript client (sdk/typescript/getallapis-client.ts, fetch-based).
Python SDK — sdk/python/getallapis_client.py
from getallapis_client import Client
client = Client(base_url="https://getallapis.com") # key from GETALLAPIS_API_KEY or ~/.getallapis/config.json
print(client.search("github repository"))
print(client.quote("github.repository", {"owner": "fastapi", "repo": "fastapi"}))
result = client.run("web.scrape", {"url": "https://example.com"}, fields="title,text")
print(result["cost_usd"], result["output"]["title"])
Methods: signup, agent_signup, catalog, search, describe, quote, run (sync or async_=True), get_request, wait, result, requests, balance, keys, create_key, report_bug, feedback. Errors raise ApiError with .code, .status, .request_id.
CLI — scripts/getallapis
scripts/getallapis signup # agent trial key, saved to ~/.getallapis/config.json
scripts/getallapis login --api-key KEY # store an existing key
scripts/getallapis list | search audit | describe seo.audit
scripts/getallapis quote seo.audit '{"domain":"example.com"}'
scripts/getallapis run seo.audit '{"domain":"example.com"}' # saves .getallapis/seo.audit-<ts>.json
scripts/getallapis run seo.audit '{"domain":"example.com"}' --json | -o out.json | --async
scripts/getallapis requests get REQ_ID | requests wait REQ_ID
scripts/getallapis balance
scripts/getallapis report-bug "wrong score" | feedback "need X"
GETALLAPIS_BASE_URL overrides the server (default https://getallapis.com; the old SITEAUDIT_* variables still work). App code should read GETALLAPIS_API_KEY rather than the config file.
Not built: n8n node, LangChain tool, npm/PyPI packages.
Plain Markdown for agents: /docs/cli-sdk.md · index: llms.txt