SDKs
Official SDKs for StweetHQ
SDKs
Official client libraries for integrating StweetHQ into your application using your preferred language and framework.
Overview
StweetHQ provides official SDKs for JavaScript/TypeScript, Python, Ruby, and Go. Each SDK wraps the REST API with idiomatic methods, handles authentication and retries, and includes TypeScript definitions or equivalent type support for your language.
JavaScript / TypeScript
Install the SDK with npm install @stweethq/sdk or yarn add @stweethq/sdk. The package includes full TypeScript types, supports both Node.js and browser environments, and provides async methods for all API endpoints. Tree-shaking is supported for minimal bundle size in frontend applications.
Python
Install with pip install stweethq. The Python SDK uses httpx under the hood for async support and provides Pydantic models for all API responses. It is compatible with Python 3.9 and above and works well in Django, FastAPI, and Flask projects.
React and Framework Components
In addition to the core SDK, StweetHQ offers component libraries for React, Vue, and Svelte that make it easy to render testimonial widgets natively in your application. These components handle data fetching, caching, and responsive layout out of the box.
Next Steps
Once you have the SDK installed, set up webhooks to react to real-time events or browse the code examples for common integration patterns.