Dropbox-PHP/dropbox-php — pull request #1 by EvanK (2011-10-30 18:37:24+00:00)
Title: Updated to work with the new version 1 API

Added basic support for the new version 1 of the dropbox API. I also added some basic unit tests using PHPUnit (though they require running a setup script beforehand to get & store an oauth token).

I tried to re-impement the `putFile` method using [the `/files_put` endpoint][1], but the oauth extension's `OAuth::fetch` method seems to not honor the specified request method (PUT in this case) given a string as the message body, due in part to a [known issue][2]. Additionally, the other Dropbox_OAuth classes seem to be doing some preprocessing for POST requests & oauth signing that I didn't fully understand, so I figured I'd leave it as is for now.

[1]: https://www.dropbox.com/developers/reference/api#files_put
[2]: http://code.google.com/p/dropbox-php/issues/detail?id=19