@swarmica/api
v1.2.0
Published
An API client / SDK for working with Swarmica API.
Readme
🐝 Swarmica API
An API client / SDK for working with Swarmica API.
Swarmica is a platform that automates customer support. It combines a help desk, a knowledge base, and quality control. The platform is based on the KCS methodology and uses AI to provide quick responses to inquiries, collect and reuse knowledge, analyze data, and offer support through multiple channels.
📦 Installation
Install the latest stable version:
npm install @swarmica/api⚙️ Setup
Before using the API, initialize it with your base URL:
import { setup } from "@swarmica/api"
setup({ baseURL: "https://example.com/api" })⚡ Usage
Use specific API modules directly:
import { authAPI } from "@swarmica/api"
await authAPI.login("[email protected]", "*******")Or import the whole package:
import * as swarmicaAPI from "@swarmica/api"
await swarmicaAPI.auth.login("[email protected]", "*******")