{"action":"created","issue":{"url":"https://api.github.com/repos/mikedeboer/node-github/issues/115","repository_url":"https://api.github.com/repos/mikedeboer/node-github","labels_url":"https://api.github.com/repos/mikedeboer/node-github/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/mikedeboer/node-github/issues/115/comments","events_url":"https://api.github.com/repos/mikedeboer/node-github/issues/115/events","html_url":"https://github.com/mikedeboer/node-github/issues/115","id":26079126,"number":115,"title":"Add instructions in the Readme how to add API features","user":{"login":"timaschew","id":110870,"avatar_url":"https://avatars.githubusercontent.com/u/110870?v=3","gravatar_id":"","url":"https://api.github.com/users/timaschew","html_url":"https://github.com/timaschew","followers_url":"https://api.github.com/users/timaschew/followers","following_url":"https://api.github.com/users/timaschew/following{/other_user}","gists_url":"https://api.github.com/users/timaschew/gists{/gist_id}","starred_url":"https://api.github.com/users/timaschew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timaschew/subscriptions","organizations_url":"https://api.github.com/users/timaschew/orgs","repos_url":"https://api.github.com/users/timaschew/repos","events_url":"https://api.github.com/users/timaschew/events{/privacy}","received_events_url":"https://api.github.com/users/timaschew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-01-22T10:20:09Z","updated_at":"2016-05-30T19:52:57Z","closed_at":"2016-05-30T19:52:57Z","body":"First of all, great lib, thanks!\r\n\r\nI added some API features for creating files, see here: http://developer.github.com/v3/repos/contents/#create-a-file\r\n(BTW: that means you need to update the implementation progress of the github API, this is not correct anymore: **Repos: 100%**)\r\n\r\nI've found this code snippet, which occurs multiple times\r\n\r\n``` javascript\r\nvar self = this;\r\n        this.client.httpSend(msg, block, function(err, res) {\r\n            if (err)\r\n                return self.sendError(err, null, msg, callback);\r\n\r\n            var ret;\r\n            try {\r\n                ret = res.data && JSON.parse(res.data);\r\n            }\r\n            catch (ex) {\r\n                if (callback)\r\n                    callback(new error.InternalServerError(ex.message), res);\r\n                return;\r\n            }\r\n            \r\n            if (!ret)\r\n                ret = {};\r\n            if (!ret.meta)\r\n                ret.meta = {};\r\n            [\"x-ratelimit-limit\", \"x-ratelimit-remaining\", \"x-oauth-scopes\", \"link\", \"location\", \"last-modified\", \"etag\", \"status\"].forEach(function(header) {\r\n                if (res.headers[header])\r\n                    ret.meta[header] = res.headers[header];\r\n            });\r\n            \r\n            if (callback)\r\n                callback(null, ret);\r\n        });\r\n```\r\nMy search result is:\r\n**186 matches across 12 files**\r\n\r\nIf your code would be generated, it's okay, but it isn't, right?"},"comment":{"url":"https://api.github.com/repos/mikedeboer/node-github/issues/comments/222546955","html_url":"https://github.com/mikedeboer/node-github/issues/115#issuecomment-222546955","issue_url":"https://api.github.com/repos/mikedeboer/node-github/issues/115","id":222546955,"user":{"login":"kaizensoze","id":218869,"avatar_url":"https://avatars.githubusercontent.com/u/218869?v=3","gravatar_id":"","url":"https://api.github.com/users/kaizensoze","html_url":"https://github.com/kaizensoze","followers_url":"https://api.github.com/users/kaizensoze/followers","following_url":"https://api.github.com/users/kaizensoze/following{/other_user}","gists_url":"https://api.github.com/users/kaizensoze/gists{/gist_id}","starred_url":"https://api.github.com/users/kaizensoze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaizensoze/subscriptions","organizations_url":"https://api.github.com/users/kaizensoze/orgs","repos_url":"https://api.github.com/users/kaizensoze/repos","events_url":"https://api.github.com/users/kaizensoze/events{/privacy}","received_events_url":"https://api.github.com/users/kaizensoze/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T19:52:57Z","updated_at":"2016-05-30T19:52:57Z","body":"Updated README"}}
{"actor":{"display_login":"kaizensoze"}}