I'm trying to develop a web application which would allow me to play audio files from my dropbox account. I'm using the Dropbox API to navigate through the files and folders in my account and get only the audio files i want. Is it possible to get the full path to a file from my account that would be accesible by everyone who has a valid acces token ?
From what i could find out until now the Metadata's of the files retrieved by the ListFolderAsync method is not retriving any absolute urls to a specific file.
All i could find is that i can download a file in memory using the DownloadAsync method, but i think there must be a way of directly accesing a file, using the acces token offcourse, so that i don't have to download the file in memory and save it as mp3.
What i basically want is to be able to construct an absolute url to a file that i could pass to a html5 audio player src.
Does anyone have any idea ?
It's a bit more clearer now. I was using the Dropbox.Net library to acces dropbox (https://www.dropbox.com/developers/documentation/dotnet) which seems that doesn't have all the functions from the Core API implemented.
I'll search for an alternative library or build a wrapper on top of it adding the other functions i need.
Dropbox API v2, which the .NET SDK uses, doesn't currently offer an equivalent of the v1 /media endpoint, but I'll be sure to pass this along as a feature request.
Yes, there's a new files_get_temporary_link method in the Python SDK you can use:
And for reference, in the .NET SDK, that's GetTemporaryLinkAsync:
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.