0.2.0 • Published 11 years ago
dm4client v0.2.0
DeepaMehta 4 client
A DeepaMehta 4 REST client library
Requirements
- DeepaMehta 4 with actived dm4-webservice module
- Node.js and npm
Installation
npm install dm4client
Usage
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