Skip to content

ibcom/mydigitalstructure-sdk-nodejs

Repository files navigation

mydigitalstructure SDK Node.js Example app

!!! Moved to https://github.com/ibcom/mydigitalstructure-learn

Node.js example app using the mydigitalstucture npm module.

https://npmjs.org/package/mydigitalstructure

https://docs.mydigitalstructure.cloud/gettingstarted_nodejs

Check out app-1.0.0.js for code example (with comments) and settings.json to update the username & password used to authenicate for the mydigitalstructrue.cloud methods.


Initialise:

var mydigitalstructure = require('mydigitalstructure');

Controller methods:

mydigitalstructure.add({name:, note:, code:});

mydigitalstructure.invoke(name, parameters for controller, data for controller);

Local data storage methods:

mydigitalstructure.set({scope:, context:, name:, value:});

mydigitalstructure.get({scope:, context:, name:});

Cloud data storage methods:

mydigitalstructure.cloud.save({object:, data:, callback:});

mydigitalstructure.cloud.retrieve({object:, data:, callback:});

mydigitalstructure.cloud.invoke({object:, data:, callback:});

About

nodejs for mydigitalstucture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published