{"action":"created","issue":{"url":"https://api.github.com/repos/liavt/Scheduler/issues/27","repository_url":"https://api.github.com/repos/liavt/Scheduler","labels_url":"https://api.github.com/repos/liavt/Scheduler/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/liavt/Scheduler/issues/27/comments","events_url":"https://api.github.com/repos/liavt/Scheduler/issues/27/events","html_url":"https://github.com/liavt/Scheduler/issues/27","id":175523215,"number":27,"title":"API","user":{"login":"PoisonNinja","id":12754268,"avatar_url":"https://avatars.githubusercontent.com/u/12754268?v=3","gravatar_id":"","url":"https://api.github.com/users/PoisonNinja","html_url":"https://github.com/PoisonNinja","followers_url":"https://api.github.com/users/PoisonNinja/followers","following_url":"https://api.github.com/users/PoisonNinja/following{/other_user}","gists_url":"https://api.github.com/users/PoisonNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/PoisonNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoisonNinja/subscriptions","organizations_url":"https://api.github.com/users/PoisonNinja/orgs","repos_url":"https://api.github.com/users/PoisonNinja/repos","events_url":"https://api.github.com/users/PoisonNinja/events{/privacy}","received_events_url":"https://api.github.com/users/PoisonNinja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/liavt/Scheduler/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"PoisonNinja","id":12754268,"avatar_url":"https://avatars.githubusercontent.com/u/12754268?v=3","gravatar_id":"","url":"https://api.github.com/users/PoisonNinja","html_url":"https://github.com/PoisonNinja","followers_url":"https://api.github.com/users/PoisonNinja/followers","following_url":"https://api.github.com/users/PoisonNinja/following{/other_user}","gists_url":"https://api.github.com/users/PoisonNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/PoisonNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoisonNinja/subscriptions","organizations_url":"https://api.github.com/users/PoisonNinja/orgs","repos_url":"https://api.github.com/users/PoisonNinja/repos","events_url":"https://api.github.com/users/PoisonNinja/events{/privacy}","received_events_url":"https://api.github.com/users/PoisonNinja/received_events","type":"User","site_admin":false},"assignees":[{"login":"PoisonNinja","id":12754268,"avatar_url":"https://avatars.githubusercontent.com/u/12754268?v=3","gravatar_id":"","url":"https://api.github.com/users/PoisonNinja","html_url":"https://github.com/PoisonNinja","followers_url":"https://api.github.com/users/PoisonNinja/followers","following_url":"https://api.github.com/users/PoisonNinja/following{/other_user}","gists_url":"https://api.github.com/users/PoisonNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/PoisonNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoisonNinja/subscriptions","organizations_url":"https://api.github.com/users/PoisonNinja/orgs","repos_url":"https://api.github.com/users/PoisonNinja/repos","events_url":"https://api.github.com/users/PoisonNinja/events{/privacy}","received_events_url":"https://api.github.com/users/PoisonNinja/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-07T14:50:54Z","updated_at":"2016-09-07T14:54:04Z","closed_at":null,"body":"Not really an issue, but just to track progress on implementing an API. Check off as completed\r\n\r\n- [x] API view\r\n- [x] API request type parsing\r\n- [x] Forming JSON response\r\n- [ ] Returning requested data\r\n- [ ] Parsing returned data\r\n\r\nCurrent Progress:\r\n* API view: View 12 is the API view\r\n* Added a new parameter: request. request=0 is for MOTD, and request=1 is for general mod schedule\r\n* Able to create JSON response\r\n\r\nLive at https://script.google.com/macros/s/AKfycbwblS8-vAPk5NniXH1ef8BRolyuaW62ANoGWIII0y5Ijnx2k9Ip/exec?view=12&request=1&grade=10. That is a copy of the Schedule App Unstable, and uses a personal copy of the roster that I somewhat reverse engineered.\r\n"},"comment":{"url":"https://api.github.com/repos/liavt/Scheduler/issues/comments/245306622","html_url":"https://github.com/liavt/Scheduler/issues/27#issuecomment-245306622","issue_url":"https://api.github.com/repos/liavt/Scheduler/issues/27","id":245306622,"user":{"login":"PoisonNinja","id":12754268,"avatar_url":"https://avatars.githubusercontent.com/u/12754268?v=3","gravatar_id":"","url":"https://api.github.com/users/PoisonNinja","html_url":"https://github.com/PoisonNinja","followers_url":"https://api.github.com/users/PoisonNinja/followers","following_url":"https://api.github.com/users/PoisonNinja/following{/other_user}","gists_url":"https://api.github.com/users/PoisonNinja/gists{/gist_id}","starred_url":"https://api.github.com/users/PoisonNinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoisonNinja/subscriptions","organizations_url":"https://api.github.com/users/PoisonNinja/orgs","repos_url":"https://api.github.com/users/PoisonNinja/repos","events_url":"https://api.github.com/users/PoisonNinja/events{/privacy}","received_events_url":"https://api.github.com/users/PoisonNinja/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T14:54:04Z","updated_at":"2016-09-07T14:54:04Z","body":"Sample output:\r\n{\"requestType\":\"1\",\"mods\":[[\"\",\"cohort:Aconcogua\",\"MOD A\",\"PM\",\"PT\",\"MOD B\",\"LUNCH\",\"LOTE\",\"MOD C\",\"MOD D\",\"CLUB\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"cohort:Elbrus\",\"MOD D\",\"PM\",\"PT\",\"MOD A\",\"LUNCH\",\"MOD B\",\"LOTE\",\"MOD C\",\"CLUB\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"cohort:Kilimanjaro\",\"MOD C\",\"PM\",\"PT\",\"MOD D\",\"LUNCH\",\"MOD A\",\"MOD B\",\"LOTE\",\"CLUB\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"cohort:Denali\",\"LOTE\",\"PM\",\"PT\",\"MOD C\",\"LUNCH\",\"MOD D\",\"MOD A\",\"MOD B\",\"CLUB\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]],\"times\":[[\"\",\"KEY\",\"1899-12-30T15:30:00.000Z\",\"1899-12-30T16:20:00.000Z\",\"1899-12-30T16:40:00.000Z\",\"1899-12-30T17:45:00.000Z\",\"1899-12-30T18:30:00.000Z\",\"1899-12-30T19:30:00.000Z\",\"1899-12-30T20:20:00.000Z\",\"1899-12-30T21:10:00.000Z\",\"1899-12-30T22:00:00.000Z\",\"\",\"\",\"\",\"\",\"\"]]}"}}
{"actor":{"display_login":"PoisonNinja"}}