import reįrom import authenticate, login, logoutįrom import login_requiredįrom import Userįrom django.http import HttpResponseRedirectįrom django.shortcuts import render_to_response, redirectįrom django.template import RequestContextįrom dropbox import client, rest, session I have the user's public/private keys for my app, but don't know how to put generate the URL to make it use it.Īny advice or link to information I can learn from to do this would be appreciated. Is there a way to download a file using the Dropbox API without using web server bandwidth? I think i'm supposed to use the Dropbox REST API, but I can't figure out how to create the web URL properly so that it authorized to get the file. I'm trying to get it so that the file will download directly to the user through the web browser, instead of using my web server to connect to Dropbox and get the file. I have the tokens I need to access an can run a python script to download the target file, but it ONLY saves it to the web server I'm running it on. I am using Python-Django and have my Dropbox application authorized to access a Dropbox user's account. I searched and searched but haven't been able to find the answer. I'm new to programming in python/Django and the Dropbox-API.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |