{"action":"opened","number":143,"pull_request":{"url":"https://api.github.com/repos/jolicode/secret-santa/pulls/143","id":352045182,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUyMDQ1MTgy","html_url":"https://github.com/jolicode/secret-santa/pull/143","diff_url":"https://github.com/jolicode/secret-santa/pull/143.diff","patch_url":"https://github.com/jolicode/secret-santa/pull/143.patch","issue_url":"https://api.github.com/repos/jolicode/secret-santa/issues/143","number":143,"state":"open","locked":false,"title":"[WIP] Add Zoom support for Secret Santa","user":{"login":"damienalexandre","id":225704,"node_id":"MDQ6VXNlcjIyNTcwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/225704?v=4","gravatar_id":"","url":"https://api.github.com/users/damienalexandre","html_url":"https://github.com/damienalexandre","followers_url":"https://api.github.com/users/damienalexandre/followers","following_url":"https://api.github.com/users/damienalexandre/following{/other_user}","gists_url":"https://api.github.com/users/damienalexandre/gists{/gist_id}","starred_url":"https://api.github.com/users/damienalexandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienalexandre/subscriptions","organizations_url":"https://api.github.com/users/damienalexandre/orgs","repos_url":"https://api.github.com/users/damienalexandre/repos","events_url":"https://api.github.com/users/damienalexandre/events{/privacy}","received_events_url":"https://api.github.com/users/damienalexandre/received_events","type":"User","site_admin":false},"body":"Ref #142 - adding Zoom.us support on the app.\r\n\r\nWe need two tokens:\r\n\r\n- an account one to fetch the list of users\r\n- a bot one, to send messages\r\n\r\nI use the Symfony HttpClient directly as there is no good API Client out there.\r\n\r\nHere is the current state:\r\n\r\n![image](https://user-images.githubusercontent.com/225704/70647261-d9788a00-1c48-11ea-99f0-d791a068e0d3.png)\r\n\r\n![image](https://user-images.githubusercontent.com/225704/70647073-75ee5c80-1c48-11ea-9c72-523390fabb71.png)\r\n\r\n# To be done\r\n\r\n- [ ] Go figure what is a JID, versus the user ID? I had to transform them by hand but I'm not sure this is robust\r\n- [ ] Add the logo on the homepage\r\n- [ ] Get a \"Team Name\"?\r\n- [ ] The markdown message are broken, can't be used\r\n- [ ] Search for the avatars? Contact API does not give them\r\n- [ ] Complete the application details and submit for publication on https://marketplace.zoom.us/\r\n- [ ] Check to add collaborators on https://marketplace.zoom.us/ \r\n","created_at":"2019-12-11T18:04:08Z","updated_at":"2019-12-11T18:04:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1080731769,"node_id":"MDU6TGFiZWwxMDgwNzMxNzY5","url":"https://api.github.com/repos/jolicode/secret-santa/labels/work%20in%20progress","name":"work in progress","color":"5133aa","default":false,"description":""}],"milestone":null,"commits_url":"https://api.github.com/repos/jolicode/secret-santa/pulls/143/commits","review_comments_url":"https://api.github.com/repos/jolicode/secret-santa/pulls/143/comments","review_comment_url":"https://api.github.com/repos/jolicode/secret-santa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jolicode/secret-santa/issues/143/comments","statuses_url":"https://api.github.com/repos/jolicode/secret-santa/statuses/1f46d7beb3058e1e11ea1e0b6a326bfcfb38d44b","head":{"label":"jolicode:zoomSupport","ref":"zoomSupport","sha":"1f46d7beb3058e1e11ea1e0b6a326bfcfb38d44b","user":{"login":"jolicode","id":1436371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzYzNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1436371?v=4","gravatar_id":"","url":"https://api.github.com/users/jolicode","html_url":"https://github.com/jolicode","followers_url":"https://api.github.com/users/jolicode/followers","following_url":"https://api.github.com/users/jolicode/following{/other_user}","gists_url":"https://api.github.com/users/jolicode/gists{/gist_id}","starred_url":"https://api.github.com/users/jolicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolicode/subscriptions","organizations_url":"https://api.github.com/users/jolicode/orgs","repos_url":"https://api.github.com/users/jolicode/repos","events_url":"https://api.github.com/users/jolicode/events{/privacy}","received_events_url":"https://api.github.com/users/jolicode/received_events","type":"Organization","site_admin":false},"repo":{"id":45856040,"node_id":"MDEwOlJlcG9zaXRvcnk0NTg1NjA0MA==","name":"secret-santa","full_name":"jolicode/secret-santa","private":false,"owner":{"login":"jolicode","id":1436371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzYzNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1436371?v=4","gravatar_id":"","url":"https://api.github.com/users/jolicode","html_url":"https://github.com/jolicode","followers_url":"https://api.github.com/users/jolicode/followers","following_url":"https://api.github.com/users/jolicode/following{/other_user}","gists_url":"https://api.github.com/users/jolicode/gists{/gist_id}","starred_url":"https://api.github.com/users/jolicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolicode/subscriptions","organizations_url":"https://api.github.com/users/jolicode/orgs","repos_url":"https://api.github.com/users/jolicode/repos","events_url":"https://api.github.com/users/jolicode/events{/privacy}","received_events_url":"https://api.github.com/users/jolicode/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/jolicode/secret-santa","description":":santa: The code behind Secret Santa, the holiday bot for Slack / Discord","fork":false,"url":"https://api.github.com/repos/jolicode/secret-santa","forks_url":"https://api.github.com/repos/jolicode/secret-santa/forks","keys_url":"https://api.github.com/repos/jolicode/secret-santa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jolicode/secret-santa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jolicode/secret-santa/teams","hooks_url":"https://api.github.com/repos/jolicode/secret-santa/hooks","issue_events_url":"https://api.github.com/repos/jolicode/secret-santa/issues/events{/number}","events_url":"https://api.github.com/repos/jolicode/secret-santa/events","assignees_url":"https://api.github.com/repos/jolicode/secret-santa/assignees{/user}","branches_url":"https://api.github.com/repos/jolicode/secret-santa/branches{/branch}","tags_url":"https://api.github.com/repos/jolicode/secret-santa/tags","blobs_url":"https://api.github.com/repos/jolicode/secret-santa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jolicode/secret-santa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jolicode/secret-santa/git/refs{/sha}","trees_url":"https://api.github.com/repos/jolicode/secret-santa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jolicode/secret-santa/statuses/{sha}","languages_url":"https://api.github.com/repos/jolicode/secret-santa/languages","stargazers_url":"https://api.github.com/repos/jolicode/secret-santa/stargazers","contributors_url":"https://api.github.com/repos/jolicode/secret-santa/contributors","subscribers_url":"https://api.github.com/repos/jolicode/secret-santa/subscribers","subscription_url":"https://api.github.com/repos/jolicode/secret-santa/subscription","commits_url":"https://api.github.com/repos/jolicode/secret-santa/commits{/sha}","git_commits_url":"https://api.github.com/repos/jolicode/secret-santa/git/commits{/sha}","comments_url":"https://api.github.com/repos/jolicode/secret-santa/comments{/number}","issue_comment_url":"https://api.github.com/repos/jolicode/secret-santa/issues/comments{/number}","contents_url":"https://api.github.com/repos/jolicode/secret-santa/contents/{+path}","compare_url":"https://api.github.com/repos/jolicode/secret-santa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jolicode/secret-santa/merges","archive_url":"https://api.github.com/repos/jolicode/secret-santa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jolicode/secret-santa/downloads","issues_url":"https://api.github.com/repos/jolicode/secret-santa/issues{/number}","pulls_url":"https://api.github.com/repos/jolicode/secret-santa/pulls{/number}","milestones_url":"https://api.github.com/repos/jolicode/secret-santa/milestones{/number}","notifications_url":"https://api.github.com/repos/jolicode/secret-santa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jolicode/secret-santa/labels{/name}","releases_url":"https://api.github.com/repos/jolicode/secret-santa/releases{/id}","deployments_url":"https://api.github.com/repos/jolicode/secret-santa/deployments","created_at":"2015-11-09T17:55:07Z","updated_at":"2019-12-11T07:00:38Z","pushed_at":"2019-12-11T17:56:58Z","git_url":"git://github.com/jolicode/secret-santa.git","ssh_url":"git@github.com:jolicode/secret-santa.git","clone_url":"https://github.com/jolicode/secret-santa.git","svn_url":"https://github.com/jolicode/secret-santa","homepage":"https://secret-santa.team/","size":6441,"stargazers_count":132,"watchers_count":132,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":15,"watchers":132,"default_branch":"master"}},"base":{"label":"jolicode:master","ref":"master","sha":"f0f97b8a2976e22f1843ba8cd46bd0cbd3bff1ae","user":{"login":"jolicode","id":1436371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzYzNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1436371?v=4","gravatar_id":"","url":"https://api.github.com/users/jolicode","html_url":"https://github.com/jolicode","followers_url":"https://api.github.com/users/jolicode/followers","following_url":"https://api.github.com/users/jolicode/following{/other_user}","gists_url":"https://api.github.com/users/jolicode/gists{/gist_id}","starred_url":"https://api.github.com/users/jolicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolicode/subscriptions","organizations_url":"https://api.github.com/users/jolicode/orgs","repos_url":"https://api.github.com/users/jolicode/repos","events_url":"https://api.github.com/users/jolicode/events{/privacy}","received_events_url":"https://api.github.com/users/jolicode/received_events","type":"Organization","site_admin":false},"repo":{"id":45856040,"node_id":"MDEwOlJlcG9zaXRvcnk0NTg1NjA0MA==","name":"secret-santa","full_name":"jolicode/secret-santa","private":false,"owner":{"login":"jolicode","id":1436371,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzYzNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1436371?v=4","gravatar_id":"","url":"https://api.github.com/users/jolicode","html_url":"https://github.com/jolicode","followers_url":"https://api.github.com/users/jolicode/followers","following_url":"https://api.github.com/users/jolicode/following{/other_user}","gists_url":"https://api.github.com/users/jolicode/gists{/gist_id}","starred_url":"https://api.github.com/users/jolicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolicode/subscriptions","organizations_url":"https://api.github.com/users/jolicode/orgs","repos_url":"https://api.github.com/users/jolicode/repos","events_url":"https://api.github.com/users/jolicode/events{/privacy}","received_events_url":"https://api.github.com/users/jolicode/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/jolicode/secret-santa","description":":santa: The code behind Secret Santa, the holiday bot for Slack / Discord","fork":false,"url":"https://api.github.com/repos/jolicode/secret-santa","forks_url":"https://api.github.com/repos/jolicode/secret-santa/forks","keys_url":"https://api.github.com/repos/jolicode/secret-santa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jolicode/secret-santa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jolicode/secret-santa/teams","hooks_url":"https://api.github.com/repos/jolicode/secret-santa/hooks","issue_events_url":"https://api.github.com/repos/jolicode/secret-santa/issues/events{/number}","events_url":"https://api.github.com/repos/jolicode/secret-santa/events","assignees_url":"https://api.github.com/repos/jolicode/secret-santa/assignees{/user}","branches_url":"https://api.github.com/repos/jolicode/secret-santa/branches{/branch}","tags_url":"https://api.github.com/repos/jolicode/secret-santa/tags","blobs_url":"https://api.github.com/repos/jolicode/secret-santa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jolicode/secret-santa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jolicode/secret-santa/git/refs{/sha}","trees_url":"https://api.github.com/repos/jolicode/secret-santa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jolicode/secret-santa/statuses/{sha}","languages_url":"https://api.github.com/repos/jolicode/secret-santa/languages","stargazers_url":"https://api.github.com/repos/jolicode/secret-santa/stargazers","contributors_url":"https://api.github.com/repos/jolicode/secret-santa/contributors","subscribers_url":"https://api.github.com/repos/jolicode/secret-santa/subscribers","subscription_url":"https://api.github.com/repos/jolicode/secret-santa/subscription","commits_url":"https://api.github.com/repos/jolicode/secret-santa/commits{/sha}","git_commits_url":"https://api.github.com/repos/jolicode/secret-santa/git/commits{/sha}","comments_url":"https://api.github.com/repos/jolicode/secret-santa/comments{/number}","issue_comment_url":"https://api.github.com/repos/jolicode/secret-santa/issues/comments{/number}","contents_url":"https://api.github.com/repos/jolicode/secret-santa/contents/{+path}","compare_url":"https://api.github.com/repos/jolicode/secret-santa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jolicode/secret-santa/merges","archive_url":"https://api.github.com/repos/jolicode/secret-santa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jolicode/secret-santa/downloads","issues_url":"https://api.github.com/repos/jolicode/secret-santa/issues{/number}","pulls_url":"https://api.github.com/repos/jolicode/secret-santa/pulls{/number}","milestones_url":"https://api.github.com/repos/jolicode/secret-santa/milestones{/number}","notifications_url":"https://api.github.com/repos/jolicode/secret-santa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jolicode/secret-santa/labels{/name}","releases_url":"https://api.github.com/repos/jolicode/secret-santa/releases{/id}","deployments_url":"https://api.github.com/repos/jolicode/secret-santa/deployments","created_at":"2015-11-09T17:55:07Z","updated_at":"2019-12-11T07:00:38Z","pushed_at":"2019-12-11T17:56:58Z","git_url":"git://github.com/jolicode/secret-santa.git","ssh_url":"git@github.com:jolicode/secret-santa.git","clone_url":"https://github.com/jolicode/secret-santa.git","svn_url":"https://github.com/jolicode/secret-santa","homepage":"https://secret-santa.team/","size":6441,"stargazers_count":132,"watchers_count":132,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":15,"watchers":132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jolicode/secret-santa/pulls/143"},"html":{"href":"https://github.com/jolicode/secret-santa/pull/143"},"issue":{"href":"https://api.github.com/repos/jolicode/secret-santa/issues/143"},"comments":{"href":"https://api.github.com/repos/jolicode/secret-santa/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/jolicode/secret-santa/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/jolicode/secret-santa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jolicode/secret-santa/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/jolicode/secret-santa/statuses/1f46d7beb3058e1e11ea1e0b6a326bfcfb38d44b"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"draft","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":679,"deletions":30,"changed_files":12}}
{"actor":{"display_login":"damienalexandre"}}