roman-client

roman-client npm version

An API client for Wire's Lithium proxy Roman.

Installation

Run yarn add roman-client or npm install roman-client.

Usage

A complete documentation is available at https://ffflorian.github.io/api-clients/packages/roman-client/.

Example

import {Roman} from 'roman-client';

const roman = new Roman('https://example.com');

await roman.register({
email: 'email@example.com',
name: 'My Name',
password: 'My Password',
});

await roman.login({
email: 'email@example.com',
password: 'My Password',
});

await roman.registerService({
name: 'My Weather Bot',
summary: 'Display the weather in your region.',
});

const myService = await roman.getService();

// ...

Build and test

yarn
yarn test

Generated using TypeDoc