{"pull_request":{"state":"closed","merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/86785c049bf9e099129026eff9814810?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"86785c049bf9e099129026eff9814810","url":"https://api.github.com/users/lazyguru","login":"lazyguru","id":612340},"user":{"avatar_url":"https://secure.gravatar.com/avatar/04e711fe17139e1f2d57df8ed0d64754?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"04e711fe17139e1f2d57df8ed0d64754","url":"https://api.github.com/users/EvanK","login":"EvanK","id":84145},"deletions":39,"updated_at":"2011-10-31T22:41:15Z","comments":0,"diff_url":"https://github.com/Dropbox-PHP/dropbox-php/pull/1.diff","closed_at":"2011-10-31T22:41:15Z","base":{"ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"d41d8cd98f00b204e9800998ecf8427e","url":"https://api.github.com/users/Dropbox-PHP","login":"Dropbox-PHP","id":1015812},"repo":{"name":"dropbox-php","pushed_at":"2011-10-31T22:41:15Z","fork":false,"master_branch":null,"updated_at":"2011-10-31T22:41:15Z","clone_url":"https://github.com/Dropbox-PHP/dropbox-php.git","open_issues":0,"homepage":"http://www.dropbox-php.com/","language":"PHP","svn_url":"https://svn.github.com/Dropbox-PHP/dropbox-php","forks":2,"private":false,"url":"https://api.github.com/repos/Dropbox-PHP/dropbox-php","owner":{"avatar_url":"https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"d41d8cd98f00b204e9800998ecf8427e","url":"https://api.github.com/users/Dropbox-PHP","login":"Dropbox-PHP","id":1015812},"html_url":"https://github.com/Dropbox-PHP/dropbox-php","description":"Dropbox client library for PHP.  Cloned from http://code.google.com/p/dropbox-php/","size":260,"id":2494012,"git_url":"git://github.com/Dropbox-PHP/dropbox-php.git","watchers":8,"created_at":"2011-10-01T07:47:23Z","ssh_url":"git@github.com:Dropbox-PHP/dropbox-php.git"},"label":"Dropbox-PHP:master","sha":"49b584611bb97ca473c0474e3953958b9da0b66c"},"commits":3,"head":{"ref":"api-v1","user":{"avatar_url":"https://secure.gravatar.com/avatar/04e711fe17139e1f2d57df8ed0d64754?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"04e711fe17139e1f2d57df8ed0d64754","url":"https://api.github.com/users/EvanK","login":"EvanK","id":84145},"repo":{"name":"dropbox-php","pushed_at":"2011-10-30T18:29:07Z","fork":true,"master_branch":null,"updated_at":"2011-10-30T18:29:07Z","clone_url":"https://github.com/EvanK/dropbox-php.git","open_issues":0,"homepage":"http://www.dropbox-php.com/","language":"PHP","svn_url":"https://svn.github.com/EvanK/dropbox-php","forks":0,"private":false,"url":"https://api.github.com/repos/EvanK/dropbox-php","owner":{"avatar_url":"https://secure.gravatar.com/avatar/04e711fe17139e1f2d57df8ed0d64754?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"04e711fe17139e1f2d57df8ed0d64754","url":"https://api.github.com/users/EvanK","login":"EvanK","id":84145},"html_url":"https://github.com/EvanK/dropbox-php","description":"Dropbox client library for PHP.  Cloned from http://code.google.com/p/dropbox-php/","size":108,"id":2662920,"git_url":"git://github.com/EvanK/dropbox-php.git","watchers":1,"created_at":"2011-10-28T03:32:48Z","ssh_url":"git@github.com:EvanK/dropbox-php.git"},"label":"EvanK:api-v1","sha":"01d5ce313ef4483ea4a734e3d70f775f8cde9a96"},"url":"https://api.github.com/repos/Dropbox-PHP/dropbox-php/pulls/1","additions":192,"merged":true,"body":"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).\r\n\r\nI 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.\r\n\r\n[1]: https://www.dropbox.com/developers/reference/api#files_put\r\n[2]: http://code.google.com/p/dropbox-php/issues/detail?id=19","merged_at":"2011-10-31T22:41:15Z","html_url":"https://github.com/Dropbox-PHP/dropbox-php/pull/1","issue_url":"https://github.com/Dropbox-PHP/dropbox-php/issues/1","_links":{"comments":{"href":"https://api.github.com/repos/Dropbox-PHP/dropbox-php/issues/1/comments"},"html":{"href":"https://github.com/Dropbox-PHP/dropbox-php/pull/1"},"review_comments":{"href":"https://api.github.com/repos/Dropbox-PHP/dropbox-php/pulls/1/comments"},"self":{"href":"https://api.github.com/repos/Dropbox-PHP/dropbox-php/pulls/1"}},"review_comments":0,"title":"Updated to work with the new version 1 API","number":1,"mergeable":null,"patch_url":"https://github.com/Dropbox-PHP/dropbox-php/pull/1.patch","id":446893,"changed_files":5,"created_at":"2011-10-30T18:37:24Z"},"action":"closed","number":1}