{"action":"created","issue":{"url":"https://api.github.com/repos/bloomberg/python-github-webhook/issues/6","repository_url":"https://api.github.com/repos/bloomberg/python-github-webhook","labels_url":"https://api.github.com/repos/bloomberg/python-github-webhook/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/bloomberg/python-github-webhook/issues/6/comments","events_url":"https://api.github.com/repos/bloomberg/python-github-webhook/issues/6/events","html_url":"https://github.com/bloomberg/python-github-webhook/issues/6","id":249869290,"number":6,"title":"Generalizing the Webhook class","user":{"login":"srizzling","id":2313668,"avatar_url":"https://avatars3.githubusercontent.com/u/2313668?v=4","gravatar_id":"","url":"https://api.github.com/users/srizzling","html_url":"https://github.com/srizzling","followers_url":"https://api.github.com/users/srizzling/followers","following_url":"https://api.github.com/users/srizzling/following{/other_user}","gists_url":"https://api.github.com/users/srizzling/gists{/gist_id}","starred_url":"https://api.github.com/users/srizzling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srizzling/subscriptions","organizations_url":"https://api.github.com/users/srizzling/orgs","repos_url":"https://api.github.com/users/srizzling/repos","events_url":"https://api.github.com/users/srizzling/events{/privacy}","received_events_url":"https://api.github.com/users/srizzling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-13T11:56:13Z","updated_at":"2017-08-14T15:26:24Z","closed_at":null,"body":"Is there someway we can generalize the webhook class so that we could use it in lambda or API gateway sense.\r\n\r\nWas looking at perhaps using Chalice: https://github.com/aws/chalice/blob/master/chalice/app.py. Or should I just subclass and override the init method?"},"comment":{"url":"https://api.github.com/repos/bloomberg/python-github-webhook/issues/comments/322221642","html_url":"https://github.com/bloomberg/python-github-webhook/issues/6#issuecomment-322221642","issue_url":"https://api.github.com/repos/bloomberg/python-github-webhook/issues/6","id":322221642,"user":{"login":"fophillips","id":2117300,"avatar_url":"https://avatars3.githubusercontent.com/u/2117300?v=4","gravatar_id":"","url":"https://api.github.com/users/fophillips","html_url":"https://github.com/fophillips","followers_url":"https://api.github.com/users/fophillips/followers","following_url":"https://api.github.com/users/fophillips/following{/other_user}","gists_url":"https://api.github.com/users/fophillips/gists{/gist_id}","starred_url":"https://api.github.com/users/fophillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fophillips/subscriptions","organizations_url":"https://api.github.com/users/fophillips/orgs","repos_url":"https://api.github.com/users/fophillips/repos","events_url":"https://api.github.com/users/fophillips/events{/privacy}","received_events_url":"https://api.github.com/users/fophillips/received_events","type":"User","site_admin":false},"created_at":"2017-08-14T15:26:24Z","updated_at":"2017-08-14T15:26:24Z","body":"I think it would just be a case of changing [`this line`](https://github.com/bloomberg/python-github-webhook/blob/70b2e23de8dcebba21da155926ae913afd32af0f/github_webhook/webhook.py#L20) to do whatever is needed for Chalice or whatever, rather than Flask. Is that what you mean?"}}
{"actor":{"display_login":"fophillips"}}