Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiassist_secure_intelligence-1.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiassist_secure_intelligence-1.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file aiassist_secure_intelligence-1.1.1.tar.gz.

File metadata

File hashes

Hashes for aiassist_secure_intelligence-1.1.1.tar.gz
Algorithm Hash digest
SHA256 298dc89adfe02a8611fe9a9e4266a7ff18dae6664d4398e7c8f2a9fa06d0da5f
MD5 82b2c97190c2dc7f66699f2d943a7043
BLAKE2b-256 b42d23c0b9e195dee55f010f397b692084fabf4d72ff029690a96315c452e4d1

See more details on using hashes here.

File details

Details for the file aiassist_secure_intelligence-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aiassist_secure_intelligence-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa8410b78d1aeb0a30a53598d3b930fb3bc1f5bdd31eb093710e18dfaf9674a
MD5 dbf11012a6ee15afb325b2cb7e357e8c
BLAKE2b-256 42fc66c85e2ae44e77b87746102c3e137a35872c4503572004ec68434c212029

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 files

1.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page