0.0.3 • Published 6 years ago

@plasma-platform/tm-service-properties v0.0.3

Weekly downloads
-
License
CC-BY-4.0
Repository
gitlab
Last release
6 years ago

Documentation

Table of Contents

PropertiesService

Properties Micro Service API that you may adopt for your needs

Parameters

messages

Object with class service messages

Type: Object

get

Get properties list

Examples

Read properties list

(async () => {
  const propertiesService = new PropertiesService('https://api.templatemonsterdev.com/properties/v1/');
  const list = await propertiesService.get();
})();

Returns PropertiesList array of properties

details

Get specific propertie

Parameters

Examples

Get propertie

(async () => {
  const propertiesService = new PropertiesService('https://api.templatemonsterdev.com/properties/v1/');
  const details = await propertiesService.details('softwareRequired');
})();

Returns Propertie propertie

Array

Properties list object

Type: PropertiesList

Properties

Propertie

Propertie object

Type: Propertie

Properties