SDKs & Libraries

Official SDKs for Python, JavaScript/TypeScript, and Go. Full code examples for search, scrape, AI ask, and status.

Official SDKs

Jiro provides official SDKs for three languages. All SDKs wrap the REST API, handle authentication, include automatic retries, and return typed response objects.

  • Pythonjiro-sdk on PyPI
  • JavaScript / TypeScriptjiro-sdk on npm
  • Gogithub.com/DevAnimecx/jiro/sdk/go on pkg.go.dev

All SDKs require Python 3.10+, Node.js 18+, or Go 1.21+ respectively.

Python SDK

Install via pip and use the JiroClient class:

bash
python

Python Error Handling

The Python SDK raises typed exceptions for common error scenarios:

python

JavaScript / TypeScript SDK

Install via npm and use the JiroClient class:

bash
javascript

JavaScript Error Handling

The JS/TS SDK throws typed errors for common scenarios:

javascript

Go SDK

Install via go get and use NewClient with functional options:

bash
go

Go Error Handling

The Go SDK returns typed errors with status codes:

go

CLI Reference

The Jiro CLI is included with the Python package. All commands accept --base-url and --api-key flags:

bash

Need help?

Check our error codes or reach out to the team.