Questions tagged [dropbox-api]

The API for Dropbox, a file syncing, sharing, and backup service.

The Dropbox API allows developers to build functionality directly into their apps. The API provides methods to read and write from securely. The API allows access to features such as file uploading, downloading, sharing, searching, and restoration. The API can be used across platforms such as , , , , or any other that can make HTTPS connections.

More information, including the specification of the Dropbox API interfaces, usage guidelines, and developer tools such as official SDKs can be found on the Dropbox API website

2379 questions
0
votes
1 answer

Dropbox API on Android - Using Token to download file from Apps folder

I generated an access token to be able to make API calls for my own account without going through the authorization flow. I found this Dropbox files Get API but I don't know how to use it. I tried this code, but it doesn't seem to work: //…
João Cartucho
  • 3,688
  • 32
  • 39
0
votes
1 answer

CancellationToken in Dropbox C# SDK?

How can I cancel Task<> from async methods in Dropbox C# SDK? I don't see how I can set CancellationToken for them. I thought there is something like it in API methods: public Task GetMetadataAsync( string path, bool…
23W
  • 1,413
  • 18
  • 37
0
votes
1 answer

Dropbox http api Get shared link for file after shared link already created by its path

Is there a way to get link to file after i created it with create_shared_link_with_settings ? That means , i want to get the link to the file in another time after the creation of the link, and at that time i have only the path to the file.
hcohen
  • 325
  • 6
  • 17
0
votes
1 answer

Dropbox API uploading mp3 file

I am making a Python script to upload mp3 files in my Music folder to Dropbox, but I cannot figure out how to do so. I am using Dropbox API and here's my code import dropbox dbx = dropbox.Dropbox('*******') dbx.users_get_current_account() f =…
Yash Lotan
  • 378
  • 1
  • 5
  • 21
0
votes
1 answer

How do I differentiate between two dropbox users in an app in Dropbox api V2 in objective-C

In my app, there can be multiple users, and each user can link to their own dropbox account. Previously, I used setSharedSession: But now that there is no DBSession object, how can I let user register different dropbox. Everytime, one user is…
Natasha
  • 6,651
  • 3
  • 36
  • 58
0
votes
1 answer

Dropbox - IOS- Swift 3 : Cannot get the thumbnail image

I am trying to populate my collection view with images from the dropbox. I want to have the thumbnail image for my grid view (collection view) with the following code. DropboxClientsManager.authorizedClient?.files.getThumbnail(path:…
user3804063
  • 809
  • 1
  • 14
  • 32
0
votes
2 answers

is there any way to "logout with all devices" from dropbox API v2

I am using Dropbox API v2. User of my app wants to logout from Dropbox with all his devices. I think this is equivalent to revoke all access tokens for my app. I know how to revoke a known access token (and my app provides a logout which does…
Bernhard
  • 686
  • 8
  • 20
0
votes
0 answers

ObjectiveDropboxOfficial.framework fails with dyld`__abort_with_payload

I'm upgrading to the new V2 Dropbox API, following the Carthage install instructions. It compiles fine but when it starts to run, it fails with dyld __abort_with_payload. A similar question indicated to put the framework into Embedded Binaries…
Jim Leask
  • 6,159
  • 5
  • 21
  • 31
0
votes
1 answer

Detect directory with ObjectiveDropboxOfficial (Dropbox V2 API)

How can you tell if the metadata for a "file" is a directory or file? I'm using the new V2 dropbox API for Objective-C. I don't see any way to distinguish between a file and directory. I'm expecting a .isDirectory call similar to what was available…
Jim Leask
  • 6,159
  • 5
  • 21
  • 31
0
votes
1 answer

How to get the URL of Dropbox uploaded image in ASP.NET

I have written a small method that uploads files on Dropbox and that method is working absolutely fine but the issue is how can I get the URL of the uploaded image so that I hit that URL on browser and it shows me the image. Here is the code of…
diamond421
  • 137
  • 1
  • 2
  • 12
0
votes
2 answers

How to get the transfer status when using the Javascript Dropbox v2 API

I am using the Dropbox V2 API for Javascript, and I would like to get a status update of some kind as to how far along a download or upload is -- how much data has been transferred so far as a percentage of the total file size being uploaded.
Arlen Beiler
  • 15,336
  • 34
  • 92
  • 135
0
votes
1 answer

Upload file content to dropbox

I want to upload file that I am generating in my app. It looks like I can upload file if I will provide path to the file, or url where the file is, but I have only content of the file. Is there a way I can upload that content dropbox ? I am using…
rtom
  • 585
  • 1
  • 12
  • 26
0
votes
1 answer

TypeScript type definition for Dropbox V2 Javascript API

Where can I find the Typescript definition files for Dropbox v2 api and how do I load them into VS Code? I tried several times and cannot seem to figure it out. Most other libraries don't have any problems.
Arlen Beiler
  • 15,336
  • 34
  • 92
  • 135
0
votes
2 answers

How to auth automatically with Dropbox Java/Android SDK v2?

In order to improve app quality i'm working on testing: unit tests and UI tests. Since i'm having Dropbox support in the app i'd like to test it and i need to auth to Dropbox account before testing (in my android app the users are able to save the…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
0
votes
0 answers

How to upload ZipFile to Dropbox using Python?

I am trying to upload a .zip file to Dropbox using the Dropbox API for python. But this method seems to fail. Can anyone please help me with this? if os.path.exists(zip_name): with zipfile.ZipFile(zip_name,'r') as zf: …