{"action":"created","issue":{"url":"https://api.github.com/repos/Magnitus-/GOG-Flash-Promo-Script/issues/2","labels_url":"https://api.github.com/repos/Magnitus-/GOG-Flash-Promo-Script/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Magnitus-/GOG-Flash-Promo-Script/issues/2/comments","events_url":"https://api.github.com/repos/Magnitus-/GOG-Flash-Promo-Script/issues/2/events","html_url":"https://github.com/Magnitus-/GOG-Flash-Promo-Script/pull/2","id":59882111,"number":2,"title":"Added an option to run a batch file as an alarm","user":{"login":"BoxOfSnoo","id":1458636,"avatar_url":"https://avatars.githubusercontent.com/u/1458636?v=3","gravatar_id":"","url":"https://api.github.com/users/BoxOfSnoo","html_url":"https://github.com/BoxOfSnoo","followers_url":"https://api.github.com/users/BoxOfSnoo/followers","following_url":"https://api.github.com/users/BoxOfSnoo/following{/other_user}","gists_url":"https://api.github.com/users/BoxOfSnoo/gists{/gist_id}","starred_url":"https://api.github.com/users/BoxOfSnoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoxOfSnoo/subscriptions","organizations_url":"https://api.github.com/users/BoxOfSnoo/orgs","repos_url":"https://api.github.com/users/BoxOfSnoo/repos","events_url":"https://api.github.com/users/BoxOfSnoo/events{/privacy}","received_events_url":"https://api.github.com/users/BoxOfSnoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-04T23:47:51Z","updated_at":"2015-03-05T15:25:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Magnitus-/GOG-Flash-Promo-Script/pulls/2","html_url":"https://github.com/Magnitus-/GOG-Flash-Promo-Script/pull/2","diff_url":"https://github.com/Magnitus-/GOG-Flash-Promo-Script/pull/2.diff","patch_url":"https://github.com/Magnitus-/GOG-Flash-Promo-Script/pull/2.patch"},"body":"I am totally new to Python but I wanted to run this on my headless (and soundless) Linux box.  I created a batch file that will push an iOS notification to my phone (and my Pebble) whenever the game updates.\r\n\r\nI am sure there are tweaks that can be done to this but it runs."},"comment":{"url":"https://api.github.com/repos/Magnitus-/GOG-Flash-Promo-Script/issues/comments/77383221","html_url":"https://github.com/Magnitus-/GOG-Flash-Promo-Script/pull/2#issuecomment-77383221","issue_url":"https://api.github.com/repos/Magnitus-/GOG-Flash-Promo-Script/issues/2","id":77383221,"user":{"login":"BoxOfSnoo","id":1458636,"avatar_url":"https://avatars.githubusercontent.com/u/1458636?v=3","gravatar_id":"","url":"https://api.github.com/users/BoxOfSnoo","html_url":"https://github.com/BoxOfSnoo","followers_url":"https://api.github.com/users/BoxOfSnoo/followers","following_url":"https://api.github.com/users/BoxOfSnoo/following{/other_user}","gists_url":"https://api.github.com/users/BoxOfSnoo/gists{/gist_id}","starred_url":"https://api.github.com/users/BoxOfSnoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoxOfSnoo/subscriptions","organizations_url":"https://api.github.com/users/BoxOfSnoo/orgs","repos_url":"https://api.github.com/users/BoxOfSnoo/repos","events_url":"https://api.github.com/users/BoxOfSnoo/events{/privacy}","received_events_url":"https://api.github.com/users/BoxOfSnoo/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T15:25:27Z","updated_at":"2015-03-05T15:25:27Z","body":"I got it working again, with the cleanups you added later.  I removed the stock level stuff because it used to be simpler to locate in the script, now it's in too many places for me to figure out and maintain.  \r\n\r\nThe problem is that every time the stock drops by one it detects that it's a new game, because the whole game info object bundles together all of the info about the game, and doesn't just compare the titles.  Maybe someone more familiar with the language can get it going but I had to experiment to figure out just how to use an and in a condition...\r\n\r\nDo I need to create a new pull request for the current commit, if you want my changes?  Or can you choose the HEAD of this repo?"}}