0.1.7 • Published 7 years ago

backandsdk v0.1.7

Weekly downloads
53
License
-
Repository
github
Last release
7 years ago

Node.Js sdk for Backand

NodeJS module to allow use of BackAnd Apis

Allow users to perform authentification and simple action over Backand

Instructions

npm install

Example

var BackandSdk = require("backandsdk/backand");
var backand = new BackandSdk();

// anonymous authetication
backand.anoymousAuth('08fd510a-4b52-43fa-938f-f2c841bd3106')
    .then(function(){
        backand.get('/1/objects/todo?pageSize=1&pageNumber=1').then(function(data){
            console.log('anoymousAuth Data: ',data);
        });
    });


// authentication with user and password
backand.auth({ username:'test@angular2.com', password:'angular2', appname:'angular2' })
    .then(function(){
        backand.get('/1/objects/todo?pageSize=1&pageNumber=1').then(function(data){
            console.log('auth Data: ',data);
        });
    });
0.1.7

7 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago