{"action":"created","issue":{"url":"https://api.github.com/repos/g33kidd/node-dropbox/issues/11","repository_url":"https://api.github.com/repos/g33kidd/node-dropbox","labels_url":"https://api.github.com/repos/g33kidd/node-dropbox/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/g33kidd/node-dropbox/issues/11/comments","events_url":"https://api.github.com/repos/g33kidd/node-dropbox/issues/11/events","html_url":"https://github.com/g33kidd/node-dropbox/issues/11","id":162130306,"number":11,"title":"write file to disk","user":{"login":"adai183","id":13679375,"avatar_url":"https://avatars.githubusercontent.com/u/13679375?v=3","gravatar_id":"","url":"https://api.github.com/users/adai183","html_url":"https://github.com/adai183","followers_url":"https://api.github.com/users/adai183/followers","following_url":"https://api.github.com/users/adai183/following{/other_user}","gists_url":"https://api.github.com/users/adai183/gists{/gist_id}","starred_url":"https://api.github.com/users/adai183/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adai183/subscriptions","organizations_url":"https://api.github.com/users/adai183/orgs","repos_url":"https://api.github.com/users/adai183/repos","events_url":"https://api.github.com/users/adai183/events{/privacy}","received_events_url":"https://api.github.com/users/adai183/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-24T11:44:40Z","updated_at":"2016-08-29T14:11:12Z","closed_at":null,"body":"Hey!\r\nThanks for that great module.\r\nI am having trouble to download a file using the getFile method.\r\nIt just creates an empty file.\r\n\r\nhere is my code:\r\n```\r\napi.getFile('/personal/1.jpg', function(err, res, body) {\r\n\r\n    var file = fs.createWriteStream(\"1.jpg\");\r\n    res.pipe(file);\r\n\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/g33kidd/node-dropbox/issues/comments/243135147","html_url":"https://github.com/g33kidd/node-dropbox/issues/11#issuecomment-243135147","issue_url":"https://api.github.com/repos/g33kidd/node-dropbox/issues/11","id":243135147,"user":{"login":"g33kidd","id":1161326,"avatar_url":"https://avatars.githubusercontent.com/u/1161326?v=3","gravatar_id":"","url":"https://api.github.com/users/g33kidd","html_url":"https://github.com/g33kidd","followers_url":"https://api.github.com/users/g33kidd/followers","following_url":"https://api.github.com/users/g33kidd/following{/other_user}","gists_url":"https://api.github.com/users/g33kidd/gists{/gist_id}","starred_url":"https://api.github.com/users/g33kidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g33kidd/subscriptions","organizations_url":"https://api.github.com/users/g33kidd/orgs","repos_url":"https://api.github.com/users/g33kidd/repos","events_url":"https://api.github.com/users/g33kidd/events{/privacy}","received_events_url":"https://api.github.com/users/g33kidd/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T14:11:12Z","updated_at":"2016-08-29T14:11:12Z","body":"@CrackerakiUA Did not see your previous ping, whoops... Yes, that would be awesome if you could make a PR. Currently I'm working on the next version of this package since this is quite outdated and there's a new API version!"}}
{"actor":{"display_login":"g33kidd"}}