Skip to content

Instantly share code, notes, and snippets.

@pascalvree
Created November 13, 2021 22:55
Show Gist options
  • Save pascalvree/011ca412a32488832d3642450014b5c9 to your computer and use it in GitHub Desktop.
Save pascalvree/011ca412a32488832d3642450014b5c9 to your computer and use it in GitHub Desktop.
// The Javascript SDK works with callbacks and with promises. For info, check our GitHub.
const bitvavo = require('bitvavo')();
bitvavo.time((error, response) => {
if (error === null) {
console.log('Current time: ', response.time)
process.exit();
} else {
console.log(error)
process.exit();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment