{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1500","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1500/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1500/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1500/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/1500","id":168206786,"number":1500,"title":"KeyError: 'map_cells' on dev","user":{"login":"vanrzuf","id":18649425,"avatar_url":"https://avatars.githubusercontent.com/u/18649425?v=3","gravatar_id":"","url":"https://api.github.com/users/vanrzuf","html_url":"https://github.com/vanrzuf","followers_url":"https://api.github.com/users/vanrzuf/followers","following_url":"https://api.github.com/users/vanrzuf/following{/other_user}","gists_url":"https://api.github.com/users/vanrzuf/gists{/gist_id}","starred_url":"https://api.github.com/users/vanrzuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanrzuf/subscriptions","organizations_url":"https://api.github.com/users/vanrzuf/orgs","repos_url":"https://api.github.com/users/vanrzuf/repos","events_url":"https://api.github.com/users/vanrzuf/events{/privacy}","received_events_url":"https://api.github.com/users/vanrzuf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-28T21:58:13Z","updated_at":"2016-07-28T23:08:26Z","closed_at":null,"body":"\r\n![securecrt_2016-07-28_23-51-45](https://cloud.githubusercontent.com/assets/18649425/17230866/fc6ea048-551e-11e6-844e-8a1d056a1fba.png)\r\n\r\n### Other Information\r\nOS: Debian Wheezy\r\nGit Commit: c11af09b64df4be77257207dfd147649489c776e"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/236051617","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/1500#issuecomment-236051617","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/1500","id":236051617,"user":{"login":"gl1721","id":3177833,"avatar_url":"https://avatars.githubusercontent.com/u/3177833?v=3","gravatar_id":"","url":"https://api.github.com/users/gl1721","html_url":"https://github.com/gl1721","followers_url":"https://api.github.com/users/gl1721/followers","following_url":"https://api.github.com/users/gl1721/following{/other_user}","gists_url":"https://api.github.com/users/gl1721/gists{/gist_id}","starred_url":"https://api.github.com/users/gl1721/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gl1721/subscriptions","organizations_url":"https://api.github.com/users/gl1721/orgs","repos_url":"https://api.github.com/users/gl1721/repos","events_url":"https://api.github.com/users/gl1721/events{/privacy}","received_events_url":"https://api.github.com/users/gl1721/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T23:08:26Z","updated_at":"2016-07-28T23:08:26Z","body":"            response_dict = self.api.call()\r\n            map_objects = response_dict.get('responses', {}).get('GET_MAP_OBJECTS', {})\r\n            status = map_objects.get('status', None)\r\n            cells = map_objects.get('map_cells', None)\r\n\r\n            #insert detail info about gym to fort\r\n            if cells:\r\n                for cell in cells:\r\n                    if 'forts' in cell:\r\n                        for fort in cell['forts']:\r\n                            if fort.get('type') != 1:\r\n                                self.api.get_gym_details(gym_id=fort.get('id'),\r\n                                                         player_latitude=lng,\r\n                                                         player_longitude=lat,\r\n                                                         gym_latitude=fort.get('latitude'),\r\n                                                         gym_longitude=fort.get('longitude'))\r\n                                response_gym_details = self.api.call()\r\n                                fort['gym_details'] = response_gym_details.get('responses', {}).get('GET_GYM_DETAILS', None)"}}
{"actor":{"display_login":"gl1721"}}