Skip to content

catvinyl/dscbio-get-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dscbio-get-set

For NodeJS

Example usage code: test.js


const dbgt = require('dscbio-get-set').dbgt;

var token = null; // You can provide token, or it do auto.

if (dbgt.init(token)){
    console.log('Init done!');
} else {
    return console.log('No token!');
}
console.log('Token', dbgt.token);
console.log('UserID', dbgt.userid);

dbgt.setBio('Test').then(console.log);

dbgt.getBio().then(function (e){
    console.log(e.data);
});

dbgt.setBio(dbgt.getTimestamp());

console.log();

About

For NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published