Dropbox iOS integration

Is there any API method that I can use to dig through all the dropbox folders and search for files of a specific type like pdf or mp3 or txt? Or is there any search API where I can pass my search parameter and ask the API to search for it in each dropbox folder. My task is to download all songs in my app from dropbox and its a real pain to do it using the following method

[[self restClient] loadMetadata:@"/"];   

      

and then keep checking if the metadata is a directory or a file, and if its file is looking for its extension, and if its directory fits into it again, which may contain more directories. I suggested to my client to have one folder for our application in which the user would drop songs, but he has already denied this and wants to access the whole Dropbox and filter all the music files in it. I just want to make sure it's not possible before letting my client know it's not possible. and if possible then please throw some light on the procedure.

+3


source to share


2 answers


You can use the Dropbox Core API to directly search for:

https://www.dropbox.com/developers/reference/api#search



The Dropbox iOS Sync SDK does not support all Dropbox Core API features.

+1


source


https://github.com/AbbieVys/WrapperDropBox



A useful wrapper class for integrating DropBox into IOS

0


source







All Articles