Goodmorning,
I'm trying to use Dropbox api on my website, and I'm testing in a file using the code in the example:
var Dropbox = require('dropbox').Dropbox;
var dbx = new Dropbox({ accessToken: 'YOUR_ACCESS_TOKEN_HERE' });
dbx.filesListFolder({path: ''})
.then(function(response) {
console.log(response);
})
.catch(function(error) {
console.log(error);
});I have my access token, but I don't know what I have to do before this code. I don't use require js or similar, so there is a <script> link to access APIs? (like google maps API for example) Thank you and sorry for my bad English