Created
November 13, 2021 22:55
-
-
Save pascalvree/011ca412a32488832d3642450014b5c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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