{"action":"created","issue":{"url":"https://api.github.com/repos/derek-adair/nflgame/issues/18","repository_url":"https://api.github.com/repos/derek-adair/nflgame","labels_url":"https://api.github.com/repos/derek-adair/nflgame/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/derek-adair/nflgame/issues/18/comments","events_url":"https://api.github.com/repos/derek-adair/nflgame/issues/18/events","html_url":"https://github.com/derek-adair/nflgame/issues/18","id":354093492,"node_id":"MDU6SXNzdWUzNTQwOTM0OTI=","number":18,"title":"Expand updating of schedule logic","user":{"login":"mickeelm","id":3425975,"node_id":"MDQ6VXNlcjM0MjU5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3425975?v=4","gravatar_id":"","url":"https://api.github.com/users/mickeelm","html_url":"https://github.com/mickeelm","followers_url":"https://api.github.com/users/mickeelm/followers","following_url":"https://api.github.com/users/mickeelm/following{/other_user}","gists_url":"https://api.github.com/users/mickeelm/gists{/gist_id}","starred_url":"https://api.github.com/users/mickeelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickeelm/subscriptions","organizations_url":"https://api.github.com/users/mickeelm/orgs","repos_url":"https://api.github.com/users/mickeelm/repos","events_url":"https://api.github.com/users/mickeelm/events{/privacy}","received_events_url":"https://api.github.com/users/mickeelm/received_events","type":"User","site_admin":false},"labels":[{"id":665330245,"node_id":"MDU6TGFiZWw2NjUzMzAyNDU=","url":"https://api.github.com/repos/derek-adair/nflgame/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"mickeelm","id":3425975,"node_id":"MDQ6VXNlcjM0MjU5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3425975?v=4","gravatar_id":"","url":"https://api.github.com/users/mickeelm","html_url":"https://github.com/mickeelm","followers_url":"https://api.github.com/users/mickeelm/followers","following_url":"https://api.github.com/users/mickeelm/following{/other_user}","gists_url":"https://api.github.com/users/mickeelm/gists{/gist_id}","starred_url":"https://api.github.com/users/mickeelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickeelm/subscriptions","organizations_url":"https://api.github.com/users/mickeelm/orgs","repos_url":"https://api.github.com/users/mickeelm/repos","events_url":"https://api.github.com/users/mickeelm/events{/privacy}","received_events_url":"https://api.github.com/users/mickeelm/received_events","type":"User","site_admin":false},"assignees":[{"login":"mickeelm","id":3425975,"node_id":"MDQ6VXNlcjM0MjU5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3425975?v=4","gravatar_id":"","url":"https://api.github.com/users/mickeelm","html_url":"https://github.com/mickeelm","followers_url":"https://api.github.com/users/mickeelm/followers","following_url":"https://api.github.com/users/mickeelm/following{/other_user}","gists_url":"https://api.github.com/users/mickeelm/gists{/gist_id}","starred_url":"https://api.github.com/users/mickeelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickeelm/subscriptions","organizations_url":"https://api.github.com/users/mickeelm/orgs","repos_url":"https://api.github.com/users/mickeelm/repos","events_url":"https://api.github.com/users/mickeelm/events{/privacy}","received_events_url":"https://api.github.com/users/mickeelm/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/derek-adair/nflgame/milestones/1","html_url":"https://github.com/derek-adair/nflgame/milestone/1","labels_url":"https://api.github.com/repos/derek-adair/nflgame/milestones/1/labels","id":3558652,"node_id":"MDk6TWlsZXN0b25lMzU1ODY1Mg==","number":1,"title":"Usability Refactor","description":"Nflgame should just... WORK.  straight from installation.","creator":{"login":"derek-adair","id":847236,"node_id":"MDQ6VXNlcjg0NzIzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/847236?v=4","gravatar_id":"","url":"https://api.github.com/users/derek-adair","html_url":"https://github.com/derek-adair","followers_url":"https://api.github.com/users/derek-adair/followers","following_url":"https://api.github.com/users/derek-adair/following{/other_user}","gists_url":"https://api.github.com/users/derek-adair/gists{/gist_id}","starred_url":"https://api.github.com/users/derek-adair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derek-adair/subscriptions","organizations_url":"https://api.github.com/users/derek-adair/orgs","repos_url":"https://api.github.com/users/derek-adair/repos","events_url":"https://api.github.com/users/derek-adair/events{/privacy}","received_events_url":"https://api.github.com/users/derek-adair/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2018-08-09T16:18:52Z","updated_at":"2018-08-26T14:09:34Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-08-26T13:05:46Z","updated_at":"2018-09-05T21:10:00Z","closed_at":null,"author_association":"NONE","body":"Today the update schedule-logic checks the current week, if not explicitly called with arguments/flags to get other weeks.\r\n\r\nAs per the discussion in #12, we wish to expand this functionality in an attempt to decrease the need for having to run this script manually with flags/arguments. Like this:\r\n\r\n* Check which schedules we have in `schedule.json` for the current season.\r\n* If we don't have any schedules for the season, check if PRE0 exists. If not, abort. If PRE0 exists, store PRE0. Check for PRE1. If PRE1 does not exist, abort. If PRE1 exists, store PRE1. Continue like this until all schedules* are fetched (if not aborted).\r\n* If we have _some_ schedules for the season but not all, try to get all missing schedules for the season. Regardless if existing or not, get the current week.\r\n* If we have *all* schedules*, only check the current week.\r\n\r\n*) During the period 1st of March to Monday morning (when the late games should have ended) after week 17's games which are all on the Sunday of week 17, _\"all schedules\"_ means PRE0-PRE4 and REG1-REG17. Not the postseason. The morning after regular season is concluded, _\"all schedules\"_ includes the postseason."},"comment":{"url":"https://api.github.com/repos/derek-adair/nflgame/issues/comments/418882551","html_url":"https://github.com/derek-adair/nflgame/issues/18#issuecomment-418882551","issue_url":"https://api.github.com/repos/derek-adair/nflgame/issues/18","id":418882551,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODg4MjU1MQ==","user":{"login":"mickeelm","id":3425975,"node_id":"MDQ6VXNlcjM0MjU5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3425975?v=4","gravatar_id":"","url":"https://api.github.com/users/mickeelm","html_url":"https://github.com/mickeelm","followers_url":"https://api.github.com/users/mickeelm/followers","following_url":"https://api.github.com/users/mickeelm/following{/other_user}","gists_url":"https://api.github.com/users/mickeelm/gists{/gist_id}","starred_url":"https://api.github.com/users/mickeelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickeelm/subscriptions","organizations_url":"https://api.github.com/users/mickeelm/orgs","repos_url":"https://api.github.com/users/mickeelm/repos","events_url":"https://api.github.com/users/mickeelm/events{/privacy}","received_events_url":"https://api.github.com/users/mickeelm/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T21:10:00Z","updated_at":"2018-09-05T21:10:00Z","author_association":"NONE","body":"Sure, let me know if you run into any problems."}}
{"actor":{"display_login":"mickeelm"}}