medmond919 icon

Client Call

medmond919 | PRO | 05/18/16 07:54:59 PM UTC | 0 ⭐ | 439 👁️ | Never ⏰ | []
text |

450 B

|

None

|

0 👍

/

0 👎

var client = require('./lib/client');
 This works >>>>
  //Get authorization Token
client.authorize('00000', function (err, auth) {
	//List Buckets
	client.listBuckets(auth, function (err, resp) {
	console.log(resp);
	});
});
 This is what seems logical to me >>>>
 //Get authorization Token
client.authorize('account#', function (err, auth) {});
 //List Buckets
client.listBuckets(auth, function (err, resp) {
console.log(resp);
});

Comments