News for hackers. Stuff that matters.
Re:Dropbox API is available by xpaulbettsx on Saturday July 03, 2010 @05:12PM (#1484467)
Can anyone sum up what I can do with this API? I have some guesses, but there's no summary of what the capabilities are, and I don't want to parse through the 10+ page "getting started" guide to figure it out...
Re:Dropbox API is available by adamdecaf on Saturday July 03, 2010 @10:00PM (#1484936)
Everything is done with HTTP requests (duh), if you want to upload a file then you make an HTTP POST request with the file data (just like with a normal file upload form) and the associated meta-data. The servers then process the file and give you links back to access it.

Fetching files will be processed similar to a download, php will "fetch" the file and then write it to disk. Then php can move or rename it via its functions.

Renaming, copying, and deleting files are all done with a single http request with a relevant response code (pass, fail, more info needed...).

Really, it's pretty simple and the included libraries seem to cover everything that most apps will need.

Re:Dropbox API is available by csallen on Saturday July 03, 2010 @05:18PM (#1484487)
Check out the first couple bullet points on the "About the API" page:

> Simple HTTP+JSON method of accessing a user's information in a user approved sandbox on the user's desktop. List, upload, delete, move, copy, and get files as well as many other features... A full event callback API allowing you to get simple asynchronous events to your web site or service whenever the user changes their sandbox.