TypeScript SDK and CLI for Quote/0.
Caution
quote0 is currently in early development stage. The API is not stable and may change without notice. Use at your own risk.
npm install -g quote0@alphaThen, call quote0 in your terminal to see the usage. Run quote0 auth to save an API key, then use curated commands such as quote0 device list and quote0 content text.
For endpoints without a curated command, quote0 api makes an authenticated HTTP request (same idea as gh api):
quote0 api devices
quote0 api device/ABCD1234/status
quote0 api -X POST device/ABCD1234/text -f message="Hello"Short paths are prefixed with /api/authV2/open/. quote0 api always prints indented JSON.
npm install quote0@alphaimport { listDevices } from 'quote0'
import { createClient, createConfig } from 'quote0/client'
const client = createClient(
createConfig({
auth: 'dot_app_ABCD1234....EFGH5678',
baseUrl: 'https://dot.mindreset.tech',
}),
)
const { data } = await listDevices({ client, throwOnError: true })