{"action":"created","comment":{"url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/comments/224284826","pull_request_review_id":163614187,"id":224284826,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDI4NDgyNg==","diff_hunk":"@@ -14,6 +15,9 @@ def lambda_handler(event, context):\n         return FindGreenOpportunity.handle(event, context)\n     if CC.GET_POINTS == intent_name:\n         return GetPoints.handle(event, context)\n+    if CC.GET_PRODUCT_RECOMMENDATION == intent_name:","path":"src/MakeMeGreenMain.py","position":12,"original_position":12,"commit_id":"1ce1ce136452209472300eb487181cc7ae0fbb2a","original_commit_id":"1ce1ce136452209472300eb487181cc7ae0fbb2a","user":{"login":"sabarivasan","id":351089,"node_id":"MDQ6VXNlcjM1MTA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/351089?v=4","gravatar_id":"","url":"https://api.github.com/users/sabarivasan","html_url":"https://github.com/sabarivasan","followers_url":"https://api.github.com/users/sabarivasan/followers","following_url":"https://api.github.com/users/sabarivasan/following{/other_user}","gists_url":"https://api.github.com/users/sabarivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabarivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabarivasan/subscriptions","organizations_url":"https://api.github.com/users/sabarivasan/orgs","repos_url":"https://api.github.com/users/sabarivasan/repos","events_url":"https://api.github.com/users/sabarivasan/events{/privacy}","received_events_url":"https://api.github.com/users/sabarivasan/received_events","type":"User","site_admin":false},"body":"we can use `elif","created_at":"2018-10-11T00:47:05Z","updated_at":"2018-10-11T00:47:05Z","html_url":"https://github.com/sabarivasan/makemegreen/pull/14#discussion_r224284826","pull_request_url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/comments/224284826"},"html":{"href":"https://github.com/sabarivasan/makemegreen/pull/14#discussion_r224284826"},"pull_request":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14","id":221974606,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTc0NjA2","html_url":"https://github.com/sabarivasan/makemegreen/pull/14","diff_url":"https://github.com/sabarivasan/makemegreen/pull/14.diff","patch_url":"https://github.com/sabarivasan/makemegreen/pull/14.patch","issue_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues/14","number":14,"state":"open","locked":false,"title":"Get product recommendations","user":{"login":"jdan1134","id":8278662,"node_id":"MDQ6VXNlcjgyNzg2NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/8278662?v=4","gravatar_id":"","url":"https://api.github.com/users/jdan1134","html_url":"https://github.com/jdan1134","followers_url":"https://api.github.com/users/jdan1134/followers","following_url":"https://api.github.com/users/jdan1134/following{/other_user}","gists_url":"https://api.github.com/users/jdan1134/gists{/gist_id}","starred_url":"https://api.github.com/users/jdan1134/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdan1134/subscriptions","organizations_url":"https://api.github.com/users/jdan1134/orgs","repos_url":"https://api.github.com/users/jdan1134/repos","events_url":"https://api.github.com/users/jdan1134/events{/privacy}","received_events_url":"https://api.github.com/users/jdan1134/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-11T00:46:06Z","updated_at":"2018-10-11T00:47:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66bd47410b0ddff70bc1a0a6c7bf3d7c7524a66e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14/commits","review_comments_url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14/comments","review_comment_url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues/14/comments","statuses_url":"https://api.github.com/repos/sabarivasan/makemegreen/statuses/1ce1ce136452209472300eb487181cc7ae0fbb2a","head":{"label":"sabarivasan:get-product-recommendations","ref":"get-product-recommendations","sha":"1ce1ce136452209472300eb487181cc7ae0fbb2a","user":{"login":"sabarivasan","id":351089,"node_id":"MDQ6VXNlcjM1MTA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/351089?v=4","gravatar_id":"","url":"https://api.github.com/users/sabarivasan","html_url":"https://github.com/sabarivasan","followers_url":"https://api.github.com/users/sabarivasan/followers","following_url":"https://api.github.com/users/sabarivasan/following{/other_user}","gists_url":"https://api.github.com/users/sabarivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabarivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabarivasan/subscriptions","organizations_url":"https://api.github.com/users/sabarivasan/orgs","repos_url":"https://api.github.com/users/sabarivasan/repos","events_url":"https://api.github.com/users/sabarivasan/events{/privacy}","received_events_url":"https://api.github.com/users/sabarivasan/received_events","type":"User","site_admin":false},"repo":{"id":152326084,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMjYwODQ=","name":"makemegreen","full_name":"sabarivasan/makemegreen","private":false,"owner":{"login":"sabarivasan","id":351089,"node_id":"MDQ6VXNlcjM1MTA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/351089?v=4","gravatar_id":"","url":"https://api.github.com/users/sabarivasan","html_url":"https://github.com/sabarivasan","followers_url":"https://api.github.com/users/sabarivasan/followers","following_url":"https://api.github.com/users/sabarivasan/following{/other_user}","gists_url":"https://api.github.com/users/sabarivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabarivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabarivasan/subscriptions","organizations_url":"https://api.github.com/users/sabarivasan/orgs","repos_url":"https://api.github.com/users/sabarivasan/repos","events_url":"https://api.github.com/users/sabarivasan/events{/privacy}","received_events_url":"https://api.github.com/users/sabarivasan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sabarivasan/makemegreen","description":"MakeMeGreen is a chat bot that educates you about reducing your environmental footprint, tracks your green activities, etc","fork":false,"url":"https://api.github.com/repos/sabarivasan/makemegreen","forks_url":"https://api.github.com/repos/sabarivasan/makemegreen/forks","keys_url":"https://api.github.com/repos/sabarivasan/makemegreen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sabarivasan/makemegreen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sabarivasan/makemegreen/teams","hooks_url":"https://api.github.com/repos/sabarivasan/makemegreen/hooks","issue_events_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues/events{/number}","events_url":"https://api.github.com/repos/sabarivasan/makemegreen/events","assignees_url":"https://api.github.com/repos/sabarivasan/makemegreen/assignees{/user}","branches_url":"https://api.github.com/repos/sabarivasan/makemegreen/branches{/branch}","tags_url":"https://api.github.com/repos/sabarivasan/makemegreen/tags","blobs_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/refs{/sha}","trees_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sabarivasan/makemegreen/statuses/{sha}","languages_url":"https://api.github.com/repos/sabarivasan/makemegreen/languages","stargazers_url":"https://api.github.com/repos/sabarivasan/makemegreen/stargazers","contributors_url":"https://api.github.com/repos/sabarivasan/makemegreen/contributors","subscribers_url":"https://api.github.com/repos/sabarivasan/makemegreen/subscribers","subscription_url":"https://api.github.com/repos/sabarivasan/makemegreen/subscription","commits_url":"https://api.github.com/repos/sabarivasan/makemegreen/commits{/sha}","git_commits_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/commits{/sha}","comments_url":"https://api.github.com/repos/sabarivasan/makemegreen/comments{/number}","issue_comment_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues/comments{/number}","contents_url":"https://api.github.com/repos/sabarivasan/makemegreen/contents/{+path}","compare_url":"https://api.github.com/repos/sabarivasan/makemegreen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sabarivasan/makemegreen/merges","archive_url":"https://api.github.com/repos/sabarivasan/makemegreen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sabarivasan/makemegreen/downloads","issues_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues{/number}","pulls_url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls{/number}","milestones_url":"https://api.github.com/repos/sabarivasan/makemegreen/milestones{/number}","notifications_url":"https://api.github.com/repos/sabarivasan/makemegreen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sabarivasan/makemegreen/labels{/name}","releases_url":"https://api.github.com/repos/sabarivasan/makemegreen/releases{/id}","deployments_url":"https://api.github.com/repos/sabarivasan/makemegreen/deployments","created_at":"2018-10-09T21:50:38Z","updated_at":"2018-10-10T23:44:55Z","pushed_at":"2018-10-11T00:46:06Z","git_url":"git://github.com/sabarivasan/makemegreen.git","ssh_url":"git@github.com:sabarivasan/makemegreen.git","clone_url":"https://github.com/sabarivasan/makemegreen.git","svn_url":"https://github.com/sabarivasan/makemegreen","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sabarivasan:master","ref":"master","sha":"98039d4285e6c35cfd780176b6cde9473e0efa2d","user":{"login":"sabarivasan","id":351089,"node_id":"MDQ6VXNlcjM1MTA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/351089?v=4","gravatar_id":"","url":"https://api.github.com/users/sabarivasan","html_url":"https://github.com/sabarivasan","followers_url":"https://api.github.com/users/sabarivasan/followers","following_url":"https://api.github.com/users/sabarivasan/following{/other_user}","gists_url":"https://api.github.com/users/sabarivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabarivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabarivasan/subscriptions","organizations_url":"https://api.github.com/users/sabarivasan/orgs","repos_url":"https://api.github.com/users/sabarivasan/repos","events_url":"https://api.github.com/users/sabarivasan/events{/privacy}","received_events_url":"https://api.github.com/users/sabarivasan/received_events","type":"User","site_admin":false},"repo":{"id":152326084,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIzMjYwODQ=","name":"makemegreen","full_name":"sabarivasan/makemegreen","private":false,"owner":{"login":"sabarivasan","id":351089,"node_id":"MDQ6VXNlcjM1MTA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/351089?v=4","gravatar_id":"","url":"https://api.github.com/users/sabarivasan","html_url":"https://github.com/sabarivasan","followers_url":"https://api.github.com/users/sabarivasan/followers","following_url":"https://api.github.com/users/sabarivasan/following{/other_user}","gists_url":"https://api.github.com/users/sabarivasan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabarivasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabarivasan/subscriptions","organizations_url":"https://api.github.com/users/sabarivasan/orgs","repos_url":"https://api.github.com/users/sabarivasan/repos","events_url":"https://api.github.com/users/sabarivasan/events{/privacy}","received_events_url":"https://api.github.com/users/sabarivasan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sabarivasan/makemegreen","description":"MakeMeGreen is a chat bot that educates you about reducing your environmental footprint, tracks your green activities, etc","fork":false,"url":"https://api.github.com/repos/sabarivasan/makemegreen","forks_url":"https://api.github.com/repos/sabarivasan/makemegreen/forks","keys_url":"https://api.github.com/repos/sabarivasan/makemegreen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sabarivasan/makemegreen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sabarivasan/makemegreen/teams","hooks_url":"https://api.github.com/repos/sabarivasan/makemegreen/hooks","issue_events_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues/events{/number}","events_url":"https://api.github.com/repos/sabarivasan/makemegreen/events","assignees_url":"https://api.github.com/repos/sabarivasan/makemegreen/assignees{/user}","branches_url":"https://api.github.com/repos/sabarivasan/makemegreen/branches{/branch}","tags_url":"https://api.github.com/repos/sabarivasan/makemegreen/tags","blobs_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/refs{/sha}","trees_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sabarivasan/makemegreen/statuses/{sha}","languages_url":"https://api.github.com/repos/sabarivasan/makemegreen/languages","stargazers_url":"https://api.github.com/repos/sabarivasan/makemegreen/stargazers","contributors_url":"https://api.github.com/repos/sabarivasan/makemegreen/contributors","subscribers_url":"https://api.github.com/repos/sabarivasan/makemegreen/subscribers","subscription_url":"https://api.github.com/repos/sabarivasan/makemegreen/subscription","commits_url":"https://api.github.com/repos/sabarivasan/makemegreen/commits{/sha}","git_commits_url":"https://api.github.com/repos/sabarivasan/makemegreen/git/commits{/sha}","comments_url":"https://api.github.com/repos/sabarivasan/makemegreen/comments{/number}","issue_comment_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues/comments{/number}","contents_url":"https://api.github.com/repos/sabarivasan/makemegreen/contents/{+path}","compare_url":"https://api.github.com/repos/sabarivasan/makemegreen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sabarivasan/makemegreen/merges","archive_url":"https://api.github.com/repos/sabarivasan/makemegreen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sabarivasan/makemegreen/downloads","issues_url":"https://api.github.com/repos/sabarivasan/makemegreen/issues{/number}","pulls_url":"https://api.github.com/repos/sabarivasan/makemegreen/pulls{/number}","milestones_url":"https://api.github.com/repos/sabarivasan/makemegreen/milestones{/number}","notifications_url":"https://api.github.com/repos/sabarivasan/makemegreen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sabarivasan/makemegreen/labels{/name}","releases_url":"https://api.github.com/repos/sabarivasan/makemegreen/releases{/id}","deployments_url":"https://api.github.com/repos/sabarivasan/makemegreen/deployments","created_at":"2018-10-09T21:50:38Z","updated_at":"2018-10-10T23:44:55Z","pushed_at":"2018-10-11T00:46:06Z","git_url":"git://github.com/sabarivasan/makemegreen.git","ssh_url":"git@github.com:sabarivasan/makemegreen.git","clone_url":"https://github.com/sabarivasan/makemegreen.git","svn_url":"https://github.com/sabarivasan/makemegreen","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14"},"html":{"href":"https://github.com/sabarivasan/makemegreen/pull/14"},"issue":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/issues/14"},"comments":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/sabarivasan/makemegreen/statuses/1ce1ce136452209472300eb487181cc7ae0fbb2a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sabarivasan"}}