To download other user dropbox file i use
with open("rc.xlsx", "wb") as f:
shared_link = "https://www.dropbox.com/s/xx/xx.xlsx?dl=0"
metadata, res = dbx.sharing_get_shared_link_file(url=shared_link,link_password ='xxxx')
f.write(res.content)
Even so this is not my file i still need mydropbox token to download it. Is it possible to avoid it ?
dbx = dropbox.Dropbox(mydropbox_token)
I also check this but can't acess the solution From https://www.dropbox.com/developers/documentation/python#tutorial
In order to make calls to the API, you'll need an instance of the Dropbox object. To instantiate, pass in the access token for the account you want to link.