@shout-sdk/service-client
v1.0.2
Published
Shout service client.
Downloads
2
Readme
@shout-sdk/service-client
A small client that interacts with the Shout Routing Service to retrieve information about all of Shout's services.
Install
npm install @shout-sdk/service-client
Example Usage
import {
ClientSoftwareInformation,
ServiceUrlContainer,
ServiceInformation,
ServiceClient } from '@shout-sdk/service-client';
let serviceInfo : ServiceInformation;
serviceInfo = await ServiceClient.getServiceInformation('http://rs1.shout.loc:43202');
let serviceUrls : ServiceUrlContainer;
serviceUrls = serviceInfo.serviceUrls;
let softwareInfo : ClientSoftwareInformation;
softwareInfo = serviceInfo.softwareInformation;