roman-client
TypeScript icon, indicating that this package has built-in type declarations

2.3.7 • Public • Published

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

/roman-client/

    Package Sidebar

    Install

    npm i roman-client

    Weekly Downloads

    4

    Version

    2.3.7

    License

    GPL-3.0

    Unpacked Size

    61.6 kB

    Total Files

    75

    Last publish

    Collaborators

    • ffflorian