{"action":"created","issue":{"url":"https://api.github.com/repos/joshuaduffy/dota2api/issues/24","labels_url":"https://api.github.com/repos/joshuaduffy/dota2api/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/joshuaduffy/dota2api/issues/24/comments","events_url":"https://api.github.com/repos/joshuaduffy/dota2api/issues/24/events","html_url":"https://github.com/joshuaduffy/dota2api/pull/24","id":89410183,"number":24,"title":"Object response","user":{"login":"evaldobratti","id":1869525,"avatar_url":"https://avatars.githubusercontent.com/u/1869525?v=3","gravatar_id":"","url":"https://api.github.com/users/evaldobratti","html_url":"https://github.com/evaldobratti","followers_url":"https://api.github.com/users/evaldobratti/followers","following_url":"https://api.github.com/users/evaldobratti/following{/other_user}","gists_url":"https://api.github.com/users/evaldobratti/gists{/gist_id}","starred_url":"https://api.github.com/users/evaldobratti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evaldobratti/subscriptions","organizations_url":"https://api.github.com/users/evaldobratti/orgs","repos_url":"https://api.github.com/users/evaldobratti/repos","events_url":"https://api.github.com/users/evaldobratti/events{/privacy}","received_events_url":"https://api.github.com/users/evaldobratti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/joshuaduffy/dota2api/milestones/2","html_url":"https://github.com/joshuaduffy/dota2api/milestones/2.0","labels_url":"https://api.github.com/repos/joshuaduffy/dota2api/milestones/2/labels","id":1178831,"number":2,"title":"2.0","description":"No backwards compatibility with this version. Will use Python objects instead of dictionaries and also fix some more bugs with the API.","creator":{"login":"joshuaduffy","id":2195868,"avatar_url":"https://avatars.githubusercontent.com/u/2195868?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuaduffy","html_url":"https://github.com/joshuaduffy","followers_url":"https://api.github.com/users/joshuaduffy/followers","following_url":"https://api.github.com/users/joshuaduffy/following{/other_user}","gists_url":"https://api.github.com/users/joshuaduffy/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuaduffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuaduffy/subscriptions","organizations_url":"https://api.github.com/users/joshuaduffy/orgs","repos_url":"https://api.github.com/users/joshuaduffy/repos","events_url":"https://api.github.com/users/joshuaduffy/events{/privacy}","received_events_url":"https://api.github.com/users/joshuaduffy/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":5,"state":"open","created_at":"2015-06-24T08:15:31Z","updated_at":"2015-09-07T18:55:43Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-06-18T22:13:52Z","updated_at":"2016-01-10T01:14:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joshuaduffy/dota2api/pulls/24","html_url":"https://github.com/joshuaduffy/dota2api/pull/24","diff_url":"https://github.com/joshuaduffy/dota2api/pull/24.diff","patch_url":"https://github.com/joshuaduffy/dota2api/pull/24.patch"},"body":"You can see the result at integration_test.\r\nI improved the Item and Hero results to contains their respective urls and it now converts the steamid parameters if they are not converted.\r\nThe objects are basically the same as the previous dictionaries, with some better typos\r\n"},"comment":{"url":"https://api.github.com/repos/joshuaduffy/dota2api/issues/comments/170298973","html_url":"https://github.com/joshuaduffy/dota2api/pull/24#issuecomment-170298973","issue_url":"https://api.github.com/repos/joshuaduffy/dota2api/issues/24","id":170298973,"user":{"login":"Norgat","id":1494071,"avatar_url":"https://avatars.githubusercontent.com/u/1494071?v=3","gravatar_id":"","url":"https://api.github.com/users/Norgat","html_url":"https://github.com/Norgat","followers_url":"https://api.github.com/users/Norgat/followers","following_url":"https://api.github.com/users/Norgat/following{/other_user}","gists_url":"https://api.github.com/users/Norgat/gists{/gist_id}","starred_url":"https://api.github.com/users/Norgat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Norgat/subscriptions","organizations_url":"https://api.github.com/users/Norgat/orgs","repos_url":"https://api.github.com/users/Norgat/repos","events_url":"https://api.github.com/users/Norgat/events{/privacy}","received_events_url":"https://api.github.com/users/Norgat/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T01:14:45Z","updated_at":"2016-01-10T01:14:45Z","body":"I think that using objects for teams, players and so on it's not good idea.\r\nWhy? Because users can use own objects system and don't wanted to use this objects.\r\nBut you waste time to convert dicts to objects.\r\n\r\nFor example, I store responses dicts to MongoDB and I realy don't want to get objects from library.\r\nI think that library must return only pure dicts and users convert dicts to what they want.\r\n"}}