Skip to content

Instantly share code, notes, and snippets.

@jcrugzz
Created February 12, 2013 03:08
Show Gist options
  • Save jcrugzz/4759953 to your computer and use it in GitHub Desktop.
Save jcrugzz/4759953 to your computer and use it in GitHub Desktop.
var pkgcloud = require('pkgcloud');
client = pkgcloud.storage.createClient({
provider: 'rackspace',
username: 'nodejitsu',
apiKey: 'xxxxxxxxxxxxxxxxxxxxxxx'
});
client.getContainers(function (err, container) {
if(err) {
console.err(err);
} else {
console.log(container);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment