{"action":"created","issue":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1841","repository_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map","labels_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1841/labels{/name}","comments_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1841/comments","events_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1841/events","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1841","id":167240155,"number":1841,"title":"Added support for External Notifications - Pushbullet, Slack, and Twilio","user":{"login":"kvangent","id":10712294,"avatar_url":"https://avatars.githubusercontent.com/u/10712294?v=3","gravatar_id":"","url":"https://api.github.com/users/kvangent","html_url":"https://github.com/kvangent","followers_url":"https://api.github.com/users/kvangent/followers","following_url":"https://api.github.com/users/kvangent/following{/other_user}","gists_url":"https://api.github.com/users/kvangent/gists{/gist_id}","starred_url":"https://api.github.com/users/kvangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvangent/subscriptions","organizations_url":"https://api.github.com/users/kvangent/orgs","repos_url":"https://api.github.com/users/kvangent/repos","events_url":"https://api.github.com/users/kvangent/events{/privacy}","received_events_url":"https://api.github.com/users/kvangent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-07-24T16:02:11Z","updated_at":"2016-07-25T17:35:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/1841","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1841","diff_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1841.diff","patch_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1841.patch"},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nThis allows the PokemonGo-Map to send notifications to external services. It currently supports Pushbullet, Slack, and Twilio (SMS).  When the scanner picks up Pokemon it will send an alert via the service selected. Multiple alarms, including multiple of the same service, and easily be created by adding their config to the alarms.json. Which pokemon trigger alerts is also configured via the alarms.json file.\r\n\r\nChanges to the original code include changing the parse_map function to return found pokemon, pokestops, and gyms. After parsing the map, the notifications object triggers each alarm of the pokemon.\r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\nThis allows people to run the server on a single computer and receive alerts to external devices and channels.\r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\nI have been running this myself for a few days, as well as have shared it on Reddit. Several users have used it and let me know of any problems that arrived. \r\n\r\n## Screenshots (if appropriate):\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [X] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [X] My code follows the code style of this project.\r\n- [X] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n"},"comment":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/comments/235024947","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1841#issuecomment-235024947","issue_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1841","id":235024947,"user":{"login":"kvangent","id":10712294,"avatar_url":"https://avatars.githubusercontent.com/u/10712294?v=3","gravatar_id":"","url":"https://api.github.com/users/kvangent","html_url":"https://github.com/kvangent","followers_url":"https://api.github.com/users/kvangent/followers","following_url":"https://api.github.com/users/kvangent/following{/other_user}","gists_url":"https://api.github.com/users/kvangent/gists{/gist_id}","starred_url":"https://api.github.com/users/kvangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvangent/subscriptions","organizations_url":"https://api.github.com/users/kvangent/orgs","repos_url":"https://api.github.com/users/kvangent/repos","events_url":"https://api.github.com/users/kvangent/events{/privacy}","received_events_url":"https://api.github.com/users/kvangent/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T17:35:23Z","updated_at":"2016-07-25T17:35:23Z","body":"@fettlaus It will work on localized enviroments. They just need to replace the name of the pokemon with the appropriate name for their region. I will generate the default alarms.json or other languages in future updates. \r\n\r\n@Krys1s I haven't head anything from any of the contributors regarding this. \r\n\r\n@martcous I will probably add something like \"Alarm name\" in future updates. "}}
{"actor":{"display_login":"kvangent"}}