Skip to content

Quick Start

The official SDK and Bruno collection are published at github.com/svnwi/wlte-openapi-sdk.

The repository includes:

  • A Bruno collection for interactive API testing without writing code.
  • TypeScript, Python, and Go SDKs that wrap authentication, error handling, and common device APIs.

Bruno Quickstart

Bruno is a file-based API client. Requests, environment variables, and test assertions are stored as plain text files and can be versioned in Git.

Install Bruno

Desktop app (recommended for beginners)

Download from usebruno.com.

CLI (for CI / headless environments)

bash
npm install -g @usebruno/cli

Verify the installation:

bash
bru --version

Get the Collection

Clone or download the SDK repository:

bash
git clone https://github.com/svnwi/wlte-openapi-sdk.git

The Bruno collection is located at:

examples/bruno/WLTE-OpenAPI/

Open this folder as a collection in the Bruno desktop app.

Configure Environment Variables

  1. Open environments/quickstart.bru.
  2. Replace only the following two values with your credentials:
clientId     →  your_client_id
clientSecret →  your_client_secret

All other variables (accessToken, deviceId, commandId) are populated automatically by the collection scripts as you run requests. You do not need to set them manually.

relayIndex is preset to 1. Change it only if you want to target a different relay channel.

  1. In the Bruno desktop app, select the quickstart environment from the environment selector.

Run the requests in this order:

StepRequest
100-auth / Auth
201-device-queries / 01-list-devices
301-device-queries / 02-get-device-real-time-status
402-relay-control / 01-turn-relay-on
503-command-result / 01-get-command-result

Each request includes built-in assertions. A green result means the response passed both the HTTP status check and payload-shape validation.

What the Collection Covers

FolderRequests
00-authGet access token
01-device-queriesList devices, real-time status, device profiles
02-relay-controlTurn relay on, turn relay off, jog relay
03-command-resultQuery command execution result

CLI Usage

If you prefer the command line:

bash
cd examples/bruno/WLTE-OpenAPI
bru run --env quickstart

SDK Integration

The SDKs are currently distributed as repository source code. They do not depend on public npm, PyPI, or other package registries yet.

TypeScript

bash
git clone https://github.com/svnwi/wlte-openapi-sdk.git
cd wlte-openapi-sdk/sdk/typescript
cp .env.example .env
npm install
npm run example:list-devices
npm run example:list-profiles

Python

bash
git clone https://github.com/svnwi/wlte-openapi-sdk.git
cd wlte-openapi-sdk
cp sdk/python/.env.example sdk/python/.env
python3 sdk/python/examples/list_devices.py
python3 sdk/python/examples/list_profiles.py

Go

bash
git clone https://github.com/svnwi/wlte-openapi-sdk.git
cd wlte-openapi-sdk/sdk/go
cp .env.example .env
go run ./examples/list_devices
go run ./examples/list_profiles

Current SDK coverage: automatic access-token retrieval, device listing, device details, device type definitions, relay control, and command result lookup.

Test Access

You do not need to purchase hardware to experience the API or test against different device models.

Contact support@svnwi.com to request a test API key and learn what demo device coverage is available.

Last updated:

Docs buildVersion v1.2.19-20260602-174859-60
Copyright © 2026 WLTE