Official Python SDK for the AiAS Intelligence API — raw signal scanning across 22+ platforms
Project description
aiassist-secure-intelligence
Official Python SDK for the AiAS Intelligence API.
Scan 22+ online platforms for raw signal data — Reddit, Twitter/X, Hacker News, LinkedIn, Product Hunt, and more.
Install
pip install aiassist-secure-intelligence
Quick Start
from aias_intelligence import AiASIntelligence
client = AiASIntelligence(api_key="aai_your_key_here")
# List available sources
resp = client.sources()
for src in resp["data"]["sources"]:
print(f"{src['name']} ({'premium' if src['premium'] else 'free'})")
# Scan sources for raw data
results = client.scan(
sources=["reddit", "hackernews", "devto"],
keywords=["saas", "ai tools"],
limit=20,
)
print(f"Found {results['data']['total']} results in {results['meta']['processing_ms']}ms")
for item in results["data"]["results"]:
print(f"[{item['source']}] {item['title']} — {item['url']}")
Async Usage
from aias_intelligence import AiASIntelligenceAsync
async with AiASIntelligenceAsync(api_key="aai_your_key_here") as client:
results = await client.scan(
sources=["reddit", "hackernews"],
keywords=["developer tools"],
)
print(results["data"]["total"])
API
AiASIntelligence(api_key, base_url, timeout)
| Param | Type | Default | Description |
|---|---|---|---|
api_key |
str |
required | Your AiAS API key (aai_...) |
base_url |
str |
https://aiassist.net |
API base URL |
timeout |
float |
60.0 |
Request timeout in seconds |
client.sources()
Returns all available signal sources with premium/free status.
client.scan(sources, keywords, limit, category, subreddits)
| Param | Type | Default | Description |
|---|---|---|---|
sources |
list[str] |
required | Platforms to scan (max 10) |
keywords |
list[str] |
[] |
Search keywords |
limit |
int |
25 |
Results per source (1-50) |
category |
str |
"recent" |
Sort category |
subreddits |
list[str] |
[] |
Filter specific subreddits |
Available Sources
Free: reddit, hackernews, devto, lobsters, hashnode, betalist, echojs, wip, launchingnext, hackernoon, makerlog, alternativeto, saashub, tldr, changelog, indiehackers, producthunt, telegram
Premium (requires Netrows key): twitter, linkedin_jobs, linkedin_people, google_news
Requirements
- Python 3.8+
- AiAS Pro or Enterprise plan
- Only dependency:
httpx
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file aiassist_secure_intelligence-1.1.0.tar.gz.
File metadata
- Download URL: aiassist_secure_intelligence-1.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fdf3a2f7ad94ee538c550adbf5b24bb90cc42bbf7edfedc04580e099842892a
|
|
| MD5 |
a79e05d54241622941ac5ea7ecf58fe6
|
|
| BLAKE2b-256 |
b1273a0107cd79bcbbf2352cf8896ee686183457a17827ebdcc4e5d3074c4cbb
|