dropbox-api

Access dropbox api without clientside authentication?

泪湿孤枕 提交于 2019-12-23 09:17:00
问题 I'm trying to create a smooth solution for sharing files with a custom presentation of the files (logos fonts etc). My ideal would be to put the files in a dropbox folder and then have a webpage, on a separate server, access those files over javascript and display a list of them linked to the actual files. A demand is that the end user don't have to authenticate with a dropbox acocunt in order to access the files. I would rather like to use a public folder or use files from another account.

Authentication to dropbox on tvOS

怎甘沉沦 提交于 2019-12-23 07:51:28
问题 I am using dropbox sdk in my ios mobile app ,it uses dropbox authentication fetches users files from dropbox in my application .. its working perfectly on my ios application and its uploaded on apple store . i want to make it available for tvos apple stores also. but i am unable to authenticate to dropbox in tvos , as it opens authentication dialog to login and there is no way for the user to fill it, the UI does not meet the tvOS requirements. So I want to open a tvOS dialog for username

What is a Dropbox API (v2) Union Tag?

白昼怎懂夜的黑 提交于 2019-12-23 03:49:06
问题 While starting to develop a Dropbox app using the Python SDK, I'm tripping conceptually over what the AccessLevel documentation calls a union tag. (The concept extends beyond the AccessLevel class, but this seems like as good an example as any.) I'm trying to understand why the _tag attribute basically appears to be intended for internal use only. Why, if I want to know if a user has editor, owner, or viewer permission—-and it can only be one of those--I seem to be supposed to call the is

Getting started with Dropbox SDK

为君一笑 提交于 2019-12-22 18:23:28
问题 I'm looking at the Dropbox SDK for the Ruby platform http://www.dropbox.com/developers/start/setup#ruby, trying to figure out how to use APIs from my Users/myname directory on my Mac, I did gem install dropbox-sdk It's supposed to come with some example files to play around with web_file_browser.rb is an example web app that lets you browse and upload files to Dropbox. It also says For ease of compatibility, these examples reference a local copy of the library you installed with RubyGems,

How to upload multiple files at the same time using the dropbox java api

浪尽此生 提交于 2019-12-22 13:59:02
问题 I would like to know how to upload multiple files to dropbox using the java dropbox api. I would like to know this as currently, when I want to upload a folder, I recursively go through every file in the folder and upload them one by one. However, I find this too slow. So, I thought that I could just upload all the files in a folder at once. But, how would I do this? Should I create n number of threads and each thread uploads a single file or what? 回答1: Yes, you can call the API using

How to fix urllib3 RuntimeError: Requests dependency 'urllib3' must be version >= 1.21.1, < 1.22?

元气小坏坏 提交于 2019-12-22 10:55:11
问题 I am a new developer and learning to code in Python 3.4.2. I am running Debian linux on a Raspberry Pi3. After the fresh install I did both sudo apt-get update and sudo apt-get upgrade to get everything up to date. I am trying to test a section of code which uploads a file to Dropbox: import dropbox import urllib3 authkey = (my dropbox dev auth key) with open('test.csv','rb') as f: dbx = dropbox.Dropbox(authkey) dbx.files_upload(f.read(), '/test.csv') Now, I have no idea if the actual Dropbox

rDrop dropbox api non-expiring tokens/seamless token issues

我只是一个虾纸丫 提交于 2019-12-22 10:28:41
问题 I am using the rDrop package that is available from https://github.com/karthikram/rDrop, and after a bit of tweaking (as all the functions don't quite work as you would always expect them to) I have got it to work finally in the way I would like, but it still requires authorisation verification to allow the use of the app, once you get the token each time, as I think that tokens expire over time...(if this is not the case and I can hard code in my token please tell me as that would be a good

upload file to dropbox with google app script using save_url from Dropbox API

房东的猫 提交于 2019-12-22 01:37:04
问题 I'm trying to implement what is described here in a google app script. But i don't have enough experience so see what is wrong. So any help will be appreciated. function Gmail2Dropbox() { var dropboxTOKEN = 'XXXxxx'; var folderName = "Folder"; var folder = DriveApp.getFoldersByName(folderName).next(); var files = folder.getFiles(); while (files.hasNext()){ var file = files.next(); var fileName = file.getName(); var fileid = file.getId(); var path = 'path/'+fileName; var dropboxurl = 'https:/

Error: failed to find request token in session

三世轮回 提交于 2019-12-21 07:04:42
问题 I found a few issues on the main passport repo, however, I think this primarily pertains to this specific strategy as I'm able to successfully authenticate using the passport-google-oauth strategy. Error: failed to find request token in session at Strategy.OAuthStrategy.authenticate (/home/glug/application/node_modules/passport-dropbox/node_modules/passport-oauth/lib/passport-oauth/strategies/oauth.js:124:54) at attempt (/home/glug/application/node_modules/passport/lib/passport/middleware

What is the Dropbox iOS app's equivalent of “fb://”?

风格不统一 提交于 2019-12-21 05:51:47
问题 Sorry, I can tell I don't entirely know what I'm talking about. For example, to open a URL for Facebook, the prefix is "fb://". Does anyone happen to know the prefix for Dropbox? I'm pretty sure it has one, because in the new Dropbox API (1.0) it opens the Dropbox app from within your app to let the user log in, and the only way I know of doing this would be through one of those prefix things which I don't know what they are called. I do not actually want to open a file in Dropbox. I actually