{"action":"created","issue":{"url":"https://api.github.com/repos/dsp444/save_canvas_discussion/issues/2","repository_url":"https://api.github.com/repos/dsp444/save_canvas_discussion","labels_url":"https://api.github.com/repos/dsp444/save_canvas_discussion/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dsp444/save_canvas_discussion/issues/2/comments","events_url":"https://api.github.com/repos/dsp444/save_canvas_discussion/issues/2/events","html_url":"https://github.com/dsp444/save_canvas_discussion/pull/2","id":384771284,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzODkyMDk4","number":2,"title":"include threaded comments in HTML","user":{"login":"sethwilsonUS","id":28495352,"node_id":"MDQ6VXNlcjI4NDk1MzUy","avatar_url":"https://avatars1.githubusercontent.com/u/28495352?v=4","gravatar_id":"","url":"https://api.github.com/users/sethwilsonUS","html_url":"https://github.com/sethwilsonUS","followers_url":"https://api.github.com/users/sethwilsonUS/followers","following_url":"https://api.github.com/users/sethwilsonUS/following{/other_user}","gists_url":"https://api.github.com/users/sethwilsonUS/gists{/gist_id}","starred_url":"https://api.github.com/users/sethwilsonUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethwilsonUS/subscriptions","organizations_url":"https://api.github.com/users/sethwilsonUS/orgs","repos_url":"https://api.github.com/users/sethwilsonUS/repos","events_url":"https://api.github.com/users/sethwilsonUS/events{/privacy}","received_events_url":"https://api.github.com/users/sethwilsonUS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-27T12:26:24Z","updated_at":"2018-11-27T15:11:51Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dsp444/save_canvas_discussion/pulls/2","html_url":"https://github.com/dsp444/save_canvas_discussion/pull/2","diff_url":"https://github.com/dsp444/save_canvas_discussion/pull/2.diff","patch_url":"https://github.com/dsp444/save_canvas_discussion/pull/2.patch"},"body":"This update recursively reads through the 'replies' field of each\r\npost and adds them to the HTML output. Since this process is\r\nrecursive, it handles nested comments quite easily.\r\n\r\nThe inelegant part of this process is that, in order to output\r\nparticipant names, I had to pass around a dictionary lookup\r\ntable of IDs to names. So this could probably be made more\r\nefficient. But it works and the output looks decent.\r\n\r\nThanks so much for creating this script. I'm needing to\r\ndownload data for a course, and this is really going to\r\nsave my bacon!\r\n\r\n![Screenshot of Nested Comments](https://user-images.githubusercontent.com/28495352/49081648-1bd15380-f20d-11e8-8576-be6929319db3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/dsp444/save_canvas_discussion/issues/comments/442093466","html_url":"https://github.com/dsp444/save_canvas_discussion/pull/2#issuecomment-442093466","issue_url":"https://api.github.com/repos/dsp444/save_canvas_discussion/issues/2","id":442093466,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjA5MzQ2Ng==","user":{"login":"sethwilsonUS","id":28495352,"node_id":"MDQ6VXNlcjI4NDk1MzUy","avatar_url":"https://avatars1.githubusercontent.com/u/28495352?v=4","gravatar_id":"","url":"https://api.github.com/users/sethwilsonUS","html_url":"https://github.com/sethwilsonUS","followers_url":"https://api.github.com/users/sethwilsonUS/followers","following_url":"https://api.github.com/users/sethwilsonUS/following{/other_user}","gists_url":"https://api.github.com/users/sethwilsonUS/gists{/gist_id}","starred_url":"https://api.github.com/users/sethwilsonUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethwilsonUS/subscriptions","organizations_url":"https://api.github.com/users/sethwilsonUS/orgs","repos_url":"https://api.github.com/users/sethwilsonUS/repos","events_url":"https://api.github.com/users/sethwilsonUS/events{/privacy}","received_events_url":"https://api.github.com/users/sethwilsonUS/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T15:11:51Z","updated_at":"2018-11-27T15:11:51Z","author_association":"NONE","body":"Updated my code slightly with comments matching your comment style."}}
{"actor":{"display_login":"sethwilsonUS"}}