Discussions
-
Malformed authorize_url returned from DropboxOAuth2FlowNoRedirect.start() Python API
I am trying to use the `DropboxOAuth2FlowNoRedirect` example in the Python class docstring. It looks like this: from dropbox import DropboxOAuth2FlowNoRedirect auth_flow = DropboxOAuth2FlowNoRedirect(APP_KEY, APP_SECRET) authorize_url = auth_flow.start() print("1. Go to: " + authorize_url) print("2. Click \\"Allow\\" (you…
-
Python API client_modified resolution
When I set the `client_modified` of the `files_upload` method in the Python API and then use `files_get_metadata` to inspect the `client_modified` attribute, I notice that the datetime.datetime object has had the microseconds set to zero. Does this mean the best resolution of the `client_modified` metadata is 1 second?…
-
Authorisation flow for a Python client console app
I am trying to integrate Dropbox into my Python console application. I understand there are two types of authorisation flows: "code" and "token". Since my app is a client app, I don't want to have to store an app secret within the source code and so I believed the "token" flow was the right choice for me. So I started a…