Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List Dropbox Files using REST API

I want to list all the files of a folder from my own Dropbox account on my website. I was going to use C# and the Dropbox Rest API but from reading the documentation it appears that I can't do that without first getting the user to go to dropbox to receive an authorisation token.

Is this correct? Is there anyway I can return the data in code without asking the user to log in?

like image 684
mike Avatar asked May 31 '12 18:05

mike


People also ask

How do I get a list of files in Dropbox?

To get the paths and IDs for any items in the account, you can start by calling /2/files/list_folder[/continue] for root, supplying the empty string "" as the 'path' parameter.

Does Dropbox have API?

The Dropbox API allows developers to work with files in Dropbox, including advanced functionality like full-text search, thumbnails, and sharing. The Dropbox API explorer is the easiest way to get started making API calls.

Is Dropbox API free?

You'll need to have a Dropbox account to access the APIs. If you don't already have one, you can sign up for a free account here.


1 Answers

Actually no.

You need to authenticate first using OAuth and than get list of files. Documentation is here

Also as tutorial here:

https://github.com/geersch/DropboxRESTApi

like image 153
Regfor Avatar answered Oct 23 '22 22:10

Regfor