{"action":"created","issue":{"url":"https://api.github.com/repos/benweier/battlenet-api/issues/12","labels_url":"https://api.github.com/repos/benweier/battlenet-api/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/benweier/battlenet-api/issues/12/comments","events_url":"https://api.github.com/repos/benweier/battlenet-api/issues/12/events","html_url":"https://github.com/benweier/battlenet-api/pull/12","id":99753369,"number":12,"title":"Include response in callback after api calls.","user":{"login":"acidaris","id":5932399,"avatar_url":"https://avatars.githubusercontent.com/u/5932399?v=3","gravatar_id":"","url":"https://api.github.com/users/acidaris","html_url":"https://github.com/acidaris","followers_url":"https://api.github.com/users/acidaris/followers","following_url":"https://api.github.com/users/acidaris/following{/other_user}","gists_url":"https://api.github.com/users/acidaris/gists{/gist_id}","starred_url":"https://api.github.com/users/acidaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acidaris/subscriptions","organizations_url":"https://api.github.com/users/acidaris/orgs","repos_url":"https://api.github.com/users/acidaris/repos","events_url":"https://api.github.com/users/acidaris/events{/privacy}","received_events_url":"https://api.github.com/users/acidaris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-08T00:38:13Z","updated_at":"2015-08-08T01:15:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/benweier/battlenet-api/pulls/12","html_url":"https://github.com/benweier/battlenet-api/pull/12","diff_url":"https://github.com/benweier/battlenet-api/pull/12.diff","patch_url":"https://github.com/benweier/battlenet-api/pull/12.patch"},"body":"Current implementation doesn't allow users to get the statusCode or other response information from requests made to the api.\r\n\r\nAdding the response as the third parameter returned allows a user of the api to determine if the response they received was a 404, 500, etc and figure out what to do based on that information."},"comment":{"url":"https://api.github.com/repos/benweier/battlenet-api/issues/comments/128878443","html_url":"https://github.com/benweier/battlenet-api/pull/12#issuecomment-128878443","issue_url":"https://api.github.com/repos/benweier/battlenet-api/issues/12","id":128878443,"user":{"login":"benweier","id":814402,"avatar_url":"https://avatars.githubusercontent.com/u/814402?v=3","gravatar_id":"","url":"https://api.github.com/users/benweier","html_url":"https://github.com/benweier","followers_url":"https://api.github.com/users/benweier/followers","following_url":"https://api.github.com/users/benweier/following{/other_user}","gists_url":"https://api.github.com/users/benweier/gists{/gist_id}","starred_url":"https://api.github.com/users/benweier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benweier/subscriptions","organizations_url":"https://api.github.com/users/benweier/orgs","repos_url":"https://api.github.com/users/benweier/repos","events_url":"https://api.github.com/users/benweier/events{/privacy}","received_events_url":"https://api.github.com/users/benweier/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T01:15:38Z","updated_at":"2015-08-08T01:15:38Z","body":"Thanks @acidaris this is a good addition"}}