Python
pip install raily-aiTypeScript / JavaScript
npm install @raily/sdkWhat you get
- One call —
search(query, limit)returns ranked results; no setup beyond a key. - Typed results — each hit has a
score, the source it came from, and your source’s displayfields(title, text, dates, …). - Sync and async (Python) and promise-based (TypeScript), safe to reuse across requests.
- Clear errors — a dedicated
RailyAuthErrorfor key problems,RailyErrorfor the rest.