dm4client
v0.2.0
Published
DeepaMehta 4 client
Readme
DeepaMehta 4 client
A DeepaMehta 4 REST client library
Requirements
- DeepaMehta 4 with actived [dm4-webservice] (http://github.com/jri/deepamehta/tree/master/modules/dm4-webservice) module
- Node.js and npm
Installation
npm install dm4clientUsage
dm4client = require './src/dm4client'
client = dm4client.create 'http://localhost:8080/'
client.getDataTypes (dataTypes) ->
client.getTypes (typeList) ->
console.log typeList
client.getTopics 'dm4.contacts.person', (persons) ->
for person in persons
console.log person.value