{"action":"created","issue":{"url":"https://api.github.com/repos/tejado/pgoapi/issues/42","repository_url":"https://api.github.com/repos/tejado/pgoapi","labels_url":"https://api.github.com/repos/tejado/pgoapi/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/tejado/pgoapi/issues/42/comments","events_url":"https://api.github.com/repos/tejado/pgoapi/issues/42/events","html_url":"https://github.com/tejado/pgoapi/issues/42","id":166424200,"number":42,"title":"Why Dict?","user":{"login":"Nostrademous","id":1735956,"avatar_url":"https://avatars.githubusercontent.com/u/1735956?v=3","gravatar_id":"","url":"https://api.github.com/users/Nostrademous","html_url":"https://github.com/Nostrademous","followers_url":"https://api.github.com/users/Nostrademous/followers","following_url":"https://api.github.com/users/Nostrademous/following{/other_user}","gists_url":"https://api.github.com/users/Nostrademous/gists{/gist_id}","starred_url":"https://api.github.com/users/Nostrademous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nostrademous/subscriptions","organizations_url":"https://api.github.com/users/Nostrademous/orgs","repos_url":"https://api.github.com/users/Nostrademous/repos","events_url":"https://api.github.com/users/Nostrademous/events{/privacy}","received_events_url":"https://api.github.com/users/Nostrademous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-19T20:11:14Z","updated_at":"2016-07-19T20:14:55Z","closed_at":null,"body":"Am I the only one who finds writing code dealing with a dictionary way more non-intuitive than if you were returning the ResponseEnvelop directly?\r\n\r\nDriving me nuts..."},"comment":{"url":"https://api.github.com/repos/tejado/pgoapi/issues/comments/233751913","html_url":"https://github.com/tejado/pgoapi/issues/42#issuecomment-233751913","issue_url":"https://api.github.com/repos/tejado/pgoapi/issues/42","id":233751913,"user":{"login":"Nostrademous","id":1735956,"avatar_url":"https://avatars.githubusercontent.com/u/1735956?v=3","gravatar_id":"","url":"https://api.github.com/users/Nostrademous","html_url":"https://github.com/Nostrademous","followers_url":"https://api.github.com/users/Nostrademous/followers","following_url":"https://api.github.com/users/Nostrademous/following{/other_user}","gists_url":"https://api.github.com/users/Nostrademous/gists{/gist_id}","starred_url":"https://api.github.com/users/Nostrademous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nostrademous/subscriptions","organizations_url":"https://api.github.com/users/Nostrademous/orgs","repos_url":"https://api.github.com/users/Nostrademous/repos","events_url":"https://api.github.com/users/Nostrademous/events{/privacy}","received_events_url":"https://api.github.com/users/Nostrademous/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T20:14:55Z","updated_at":"2016-07-19T20:14:55Z","body":"@joshk6656 You could do:\r\n\r\n```\r\n    map_obj = response_dict['responses']['GET_MAP_OBJECTS']\r\n\r\n    for cell in map_obj['map_cells']:\r\n        for fort in cell['forts']:\r\n            if fort['type'] == 1:\r\n                fort_lat = fort['latitude']\r\n                fort_lng = fort['longitude']\r\n                print('Found PokeStop: (%f, %f)' % (fort_lat, fort_lng))\r\n```\r\nIF you enabled the \"api.get_map_objects()\" call\r\n\r\nBut that is really inconvenient for coding purposes... i would much rather have the protobuf format "}}
{"actor":{"display_login":"Nostrademous"}}