siqa-agent
SIQA Agent SDK for Python.
Installation
pip install siqa-agent
Usage
from siqa_agent import SIQAClient
client = SIQAClient(
api_key="your_api_key",
brand_id="your_brand_id",
debug=False,
)
# Initialise and start heartbeat
init = client.init("https://example.com/page")
print("Deployment mode:", init.mode)
# Fetch schema recommendations
schemas = client.get_schema_recommendations("https://example.com/page")
print("Schemas:", schemas)
# Report injected schemas
client.report_schema_injection("https://example.com/page", ["Organization"])
# Generate content brief
brief = client.generate_content({"brand_id": "your_brand_id", "keyword": "AI visibility"})
print(brief)
client.stop()
Async Usage
import asyncio
from siqa_agent import AsyncSIQAClient, SIQAConfig
async def main():
config = SIQAConfig(api_key="...", brand_id="...")
async with AsyncSIQAClient(config) as client:
init = await client.init("https://example.com/page")
print(init)
asyncio.run(main())
API
init(page_url)— Initialise the SDK and start heartbeats.get_schema_recommendations(page_url)— Fetch pending JSON-LD schemas.report_schema_injection(page_url, schemas)— Confirm schemas injected into the DOM.submit_page_report(report)— Submit a full page audit.generate_content(opts)— Generate an AEO-scored content brief.poll_citations()— Poll for citation changes.stop()/aclose()— Stop background timers.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
siqa_agent-1.0.1.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file siqa_agent-1.0.1.tar.gz.
File metadata
- Download URL: siqa_agent-1.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f46e1d1695527e82134ad01f1bc34170d42a75c4c7cbc09089a3854a63bca10a
|
|
| MD5 |
1b82acdc3fbeac6b984463f281099d1f
|
|
| BLAKE2b-256 |
b36d09506581c97475e8f0f64a1a6b120bb5d0cc5f57d3bf27cb82b64fead901
|
File details
Details for the file siqa_agent-1.0.1-py3-none-any.whl.
File metadata
- Download URL: siqa_agent-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b07b6f4dfdf6d6a15e3a73c096f8f845ba6121d4aea2ba62e1091bedbdda4df
|
|
| MD5 |
7489b8bbf400ab6b9e733c6216ff97db
|
|
| BLAKE2b-256 |
33e3f49e67f6edf48cd1bc101f605946740b86e9c9f0eb0ebabc5d322e9a2e0e
|