An API client for Wire's Lithium proxy Roman.
Run yarn add roman-client
or npm install roman-client
.
A complete documentation is available at https://ffflorian.github.io/api-clients/packages/roman-client/.
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();
// ...
yarn
yarn test