cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Retrieve a list of files

Retrieve a list of files

mauro99
Explorer | Level 4

I should like to create an HTML webpage where I can wrap a specific list of files into a folders (to show for example in a tablular view)

The workflow it seems very easy because:

  1. I can go in Dropbox API Explorer - list_folder
  2. after I get a token (OK after I have to manage the cursor. .. but I suppose this is not the point here)
  3. eventually I can check if my JSON is ok (copy and paste for example into converttojson)
  4. The problem is when I try to build an easy fetch function to wrap it into an html web page. I can't find a workable example and always I end with an error.

So please can you help me with this last step with a functional FETCH example?

Thanks.

Mauro

 

1 Reply 1

Greg-DB
Dropbox Staff

I don't have an example for fetch in particular handy, but if you using JavaScript we recommend using the official Dropbox API v2 JavaScript SDK. There's an example of using filesListFolder with that here.

 

Otherwise, feel free to share the code you have so far and the error/output you're getting so we can take a look and help.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?