{"action":"created","issue":{"url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts/issues/12","repository_url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts","labels_url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts/issues/12/comments","events_url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts/issues/12/events","html_url":"https://github.com/ge-ku/AutoJoin-for-SteamGifts/pull/12","id":209842477,"number":12,"title":"Option to keep a # of minimum points for background autojoin","user":{"login":"EliteHunter","id":3099827,"avatar_url":"https://avatars.githubusercontent.com/u/3099827?v=3","gravatar_id":"","url":"https://api.github.com/users/EliteHunter","html_url":"https://github.com/EliteHunter","followers_url":"https://api.github.com/users/EliteHunter/followers","following_url":"https://api.github.com/users/EliteHunter/following{/other_user}","gists_url":"https://api.github.com/users/EliteHunter/gists{/gist_id}","starred_url":"https://api.github.com/users/EliteHunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliteHunter/subscriptions","organizations_url":"https://api.github.com/users/EliteHunter/orgs","repos_url":"https://api.github.com/users/EliteHunter/repos","events_url":"https://api.github.com/users/EliteHunter/events{/privacy}","received_events_url":"https://api.github.com/users/EliteHunter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-02-23T18:19:32Z","updated_at":"2017-02-23T22:41:08Z","closed_at":"2017-02-23T22:26:31Z","pull_request":{"url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts/pulls/12","html_url":"https://github.com/ge-ku/AutoJoin-for-SteamGifts/pull/12","diff_url":"https://github.com/ge-ku/AutoJoin-for-SteamGifts/pull/12.diff","patch_url":"https://github.com/ge-ku/AutoJoin-for-SteamGifts/pull/12.patch"},"body":"I wanted this option so i started working on this yesterday. With my limited Java and almost non-existent JS knowledge, searching around the net how i can do what i want to do, this was the result.\r\nMost likely this is not the right way to do this but it seems to work so feel free to merge.\r\n\r\nBasically this keeps the number of points specified in options menu and if enabled spends the rest for autojoin in background. If a giveaway exceeds the amount of points you've allowed for autojoin in the background, the script will still join that giveaway. For example;\r\nYou have 286 points, in the options menu you've set 250P to keep but a 100P giveaway showed up and you only allowed 50P for autojoin (300P-250P), script will join that giveaway leaving the account with 186P."},"comment":{"url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts/issues/comments/282145527","html_url":"https://github.com/ge-ku/AutoJoin-for-SteamGifts/pull/12#issuecomment-282145527","issue_url":"https://api.github.com/repos/ge-ku/AutoJoin-for-SteamGifts/issues/12","id":282145527,"user":{"login":"ge-ku","id":11873225,"avatar_url":"https://avatars.githubusercontent.com/u/11873225?v=3","gravatar_id":"","url":"https://api.github.com/users/ge-ku","html_url":"https://github.com/ge-ku","followers_url":"https://api.github.com/users/ge-ku/followers","following_url":"https://api.github.com/users/ge-ku/following{/other_user}","gists_url":"https://api.github.com/users/ge-ku/gists{/gist_id}","starred_url":"https://api.github.com/users/ge-ku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ge-ku/subscriptions","organizations_url":"https://api.github.com/users/ge-ku/orgs","repos_url":"https://api.github.com/users/ge-ku/repos","events_url":"https://api.github.com/users/ge-ku/events{/privacy}","received_events_url":"https://api.github.com/users/ge-ku/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T22:41:08Z","updated_at":"2017-02-23T22:41:08Z","body":"Actually since we already loaded at least one page, we can grab current amount of points same time we check if we won anything. Not critical but will save us one request to the website."}}
{"actor":{"display_login":"ge-ku"}}