{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/nomlab/hiyoco/pulls/19","id":194565377,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NTY1Mzc3","html_url":"https://github.com/nomlab/hiyoco/pull/19","diff_url":"https://github.com/nomlab/hiyoco/pull/19.diff","patch_url":"https://github.com/nomlab/hiyoco/pull/19.patch","issue_url":"https://api.github.com/repos/nomlab/hiyoco/issues/19","number":19,"state":"open","locked":false,"title":"Update README for setup calendar_watcher","user":{"login":"HiromuIshikawa","id":15909860,"node_id":"MDQ6VXNlcjE1OTA5ODYw","avatar_url":"https://avatars2.githubusercontent.com/u/15909860?v=4","gravatar_id":"","url":"https://api.github.com/users/HiromuIshikawa","html_url":"https://github.com/HiromuIshikawa","followers_url":"https://api.github.com/users/HiromuIshikawa/followers","following_url":"https://api.github.com/users/HiromuIshikawa/following{/other_user}","gists_url":"https://api.github.com/users/HiromuIshikawa/gists{/gist_id}","starred_url":"https://api.github.com/users/HiromuIshikawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiromuIshikawa/subscriptions","organizations_url":"https://api.github.com/users/HiromuIshikawa/orgs","repos_url":"https://api.github.com/users/HiromuIshikawa/repos","events_url":"https://api.github.com/users/HiromuIshikawa/events{/privacy}","received_events_url":"https://api.github.com/users/HiromuIshikawa/received_events","type":"User","site_admin":false},"body":"#16 に対する PR である．\r\n\r\ncalendar_watcher は [nomlab/goohub](https://github.com/nomlab/goohub) を Gem としてインストールして実装されている．\r\nここで，goohub では，Googleカレンダー API に Authorize するためのコマンドとして以下の2つのコマンドが用意されている．\r\n\r\n+ `init`: OAuth2.0 のクライアントID とクライアントシークレットの情報を格納した `config.yml` を作成するコマンド\r\n+ `auth`: OAuth2.0 で Googleカレンダー API の認可を得るコマンド\r\n\r\nこのため，calendar_watcher においても上記コマンドを利用することでき，別途セットアップ用のコマンドを実装する必要がないと考えた．\r\n\r\nそこで，本 PR では，上記に示したコマンドを用いて，Googleカレンダー API の認可を得る手順を README.md に追記した． 25a3cf9\r\n","created_at":"2018-06-13T12:12:57Z","updated_at":"2018-06-13T12:12:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nomlab/hiyoco/pulls/19/commits","review_comments_url":"https://api.github.com/repos/nomlab/hiyoco/pulls/19/comments","review_comment_url":"https://api.github.com/repos/nomlab/hiyoco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nomlab/hiyoco/issues/19/comments","statuses_url":"https://api.github.com/repos/nomlab/hiyoco/statuses/25a3cf9d213d9c5576ccdf4aaceffd6bd5d343c8","head":{"label":"HiromuIshikawa:master","ref":"master","sha":"25a3cf9d213d9c5576ccdf4aaceffd6bd5d343c8","user":{"login":"HiromuIshikawa","id":15909860,"node_id":"MDQ6VXNlcjE1OTA5ODYw","avatar_url":"https://avatars2.githubusercontent.com/u/15909860?v=4","gravatar_id":"","url":"https://api.github.com/users/HiromuIshikawa","html_url":"https://github.com/HiromuIshikawa","followers_url":"https://api.github.com/users/HiromuIshikawa/followers","following_url":"https://api.github.com/users/HiromuIshikawa/following{/other_user}","gists_url":"https://api.github.com/users/HiromuIshikawa/gists{/gist_id}","starred_url":"https://api.github.com/users/HiromuIshikawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiromuIshikawa/subscriptions","organizations_url":"https://api.github.com/users/HiromuIshikawa/orgs","repos_url":"https://api.github.com/users/HiromuIshikawa/repos","events_url":"https://api.github.com/users/HiromuIshikawa/events{/privacy}","received_events_url":"https://api.github.com/users/HiromuIshikawa/received_events","type":"User","site_admin":false},"repo":{"id":133625138,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM2MjUxMzg=","name":"hiyoco","full_name":"HiromuIshikawa/hiyoco","owner":{"login":"HiromuIshikawa","id":15909860,"node_id":"MDQ6VXNlcjE1OTA5ODYw","avatar_url":"https://avatars2.githubusercontent.com/u/15909860?v=4","gravatar_id":"","url":"https://api.github.com/users/HiromuIshikawa","html_url":"https://github.com/HiromuIshikawa","followers_url":"https://api.github.com/users/HiromuIshikawa/followers","following_url":"https://api.github.com/users/HiromuIshikawa/following{/other_user}","gists_url":"https://api.github.com/users/HiromuIshikawa/gists{/gist_id}","starred_url":"https://api.github.com/users/HiromuIshikawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HiromuIshikawa/subscriptions","organizations_url":"https://api.github.com/users/HiromuIshikawa/orgs","repos_url":"https://api.github.com/users/HiromuIshikawa/repos","events_url":"https://api.github.com/users/HiromuIshikawa/events{/privacy}","received_events_url":"https://api.github.com/users/HiromuIshikawa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HiromuIshikawa/hiyoco","description":null,"fork":true,"url":"https://api.github.com/repos/HiromuIshikawa/hiyoco","forks_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/forks","keys_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/teams","hooks_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/hooks","issue_events_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/issues/events{/number}","events_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/events","assignees_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/assignees{/user}","branches_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/branches{/branch}","tags_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/tags","blobs_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/git/refs{/sha}","trees_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/statuses/{sha}","languages_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/languages","stargazers_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/stargazers","contributors_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/contributors","subscribers_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/subscribers","subscription_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/subscription","commits_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/commits{/sha}","git_commits_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/git/commits{/sha}","comments_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/comments{/number}","issue_comment_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/issues/comments{/number}","contents_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/contents/{+path}","compare_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/merges","archive_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/downloads","issues_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/issues{/number}","pulls_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/pulls{/number}","milestones_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/milestones{/number}","notifications_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/labels{/name}","releases_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/releases{/id}","deployments_url":"https://api.github.com/repos/HiromuIshikawa/hiyoco/deployments","created_at":"2018-05-16T07:09:28Z","updated_at":"2018-06-13T11:59:49Z","pushed_at":"2018-06-13T11:59:46Z","git_url":"git://github.com/HiromuIshikawa/hiyoco.git","ssh_url":"git@github.com:HiromuIshikawa/hiyoco.git","clone_url":"https://github.com/HiromuIshikawa/hiyoco.git","svn_url":"https://github.com/HiromuIshikawa/hiyoco","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nomlab:master","ref":"master","sha":"f4f29321084b4a8d7272f855c19006dbf67ee1ff","user":{"login":"nomlab","id":2298809,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTg4MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/2298809?v=4","gravatar_id":"","url":"https://api.github.com/users/nomlab","html_url":"https://github.com/nomlab","followers_url":"https://api.github.com/users/nomlab/followers","following_url":"https://api.github.com/users/nomlab/following{/other_user}","gists_url":"https://api.github.com/users/nomlab/gists{/gist_id}","starred_url":"https://api.github.com/users/nomlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomlab/subscriptions","organizations_url":"https://api.github.com/users/nomlab/orgs","repos_url":"https://api.github.com/users/nomlab/repos","events_url":"https://api.github.com/users/nomlab/events{/privacy}","received_events_url":"https://api.github.com/users/nomlab/received_events","type":"Organization","site_admin":false},"repo":{"id":125480847,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU0ODA4NDc=","name":"hiyoco","full_name":"nomlab/hiyoco","owner":{"login":"nomlab","id":2298809,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTg4MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/2298809?v=4","gravatar_id":"","url":"https://api.github.com/users/nomlab","html_url":"https://github.com/nomlab","followers_url":"https://api.github.com/users/nomlab/followers","following_url":"https://api.github.com/users/nomlab/following{/other_user}","gists_url":"https://api.github.com/users/nomlab/gists{/gist_id}","starred_url":"https://api.github.com/users/nomlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomlab/subscriptions","organizations_url":"https://api.github.com/users/nomlab/orgs","repos_url":"https://api.github.com/users/nomlab/repos","events_url":"https://api.github.com/users/nomlab/events{/privacy}","received_events_url":"https://api.github.com/users/nomlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nomlab/hiyoco","description":null,"fork":false,"url":"https://api.github.com/repos/nomlab/hiyoco","forks_url":"https://api.github.com/repos/nomlab/hiyoco/forks","keys_url":"https://api.github.com/repos/nomlab/hiyoco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nomlab/hiyoco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nomlab/hiyoco/teams","hooks_url":"https://api.github.com/repos/nomlab/hiyoco/hooks","issue_events_url":"https://api.github.com/repos/nomlab/hiyoco/issues/events{/number}","events_url":"https://api.github.com/repos/nomlab/hiyoco/events","assignees_url":"https://api.github.com/repos/nomlab/hiyoco/assignees{/user}","branches_url":"https://api.github.com/repos/nomlab/hiyoco/branches{/branch}","tags_url":"https://api.github.com/repos/nomlab/hiyoco/tags","blobs_url":"https://api.github.com/repos/nomlab/hiyoco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nomlab/hiyoco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nomlab/hiyoco/git/refs{/sha}","trees_url":"https://api.github.com/repos/nomlab/hiyoco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nomlab/hiyoco/statuses/{sha}","languages_url":"https://api.github.com/repos/nomlab/hiyoco/languages","stargazers_url":"https://api.github.com/repos/nomlab/hiyoco/stargazers","contributors_url":"https://api.github.com/repos/nomlab/hiyoco/contributors","subscribers_url":"https://api.github.com/repos/nomlab/hiyoco/subscribers","subscription_url":"https://api.github.com/repos/nomlab/hiyoco/subscription","commits_url":"https://api.github.com/repos/nomlab/hiyoco/commits{/sha}","git_commits_url":"https://api.github.com/repos/nomlab/hiyoco/git/commits{/sha}","comments_url":"https://api.github.com/repos/nomlab/hiyoco/comments{/number}","issue_comment_url":"https://api.github.com/repos/nomlab/hiyoco/issues/comments{/number}","contents_url":"https://api.github.com/repos/nomlab/hiyoco/contents/{+path}","compare_url":"https://api.github.com/repos/nomlab/hiyoco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nomlab/hiyoco/merges","archive_url":"https://api.github.com/repos/nomlab/hiyoco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nomlab/hiyoco/downloads","issues_url":"https://api.github.com/repos/nomlab/hiyoco/issues{/number}","pulls_url":"https://api.github.com/repos/nomlab/hiyoco/pulls{/number}","milestones_url":"https://api.github.com/repos/nomlab/hiyoco/milestones{/number}","notifications_url":"https://api.github.com/repos/nomlab/hiyoco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nomlab/hiyoco/labels{/name}","releases_url":"https://api.github.com/repos/nomlab/hiyoco/releases{/id}","deployments_url":"https://api.github.com/repos/nomlab/hiyoco/deployments","created_at":"2018-03-16T07:38:23Z","updated_at":"2018-05-31T05:20:43Z","pushed_at":"2018-06-13T12:10:51Z","git_url":"git://github.com/nomlab/hiyoco.git","ssh_url":"git@github.com:nomlab/hiyoco.git","clone_url":"https://github.com/nomlab/hiyoco.git","svn_url":"https://github.com/nomlab/hiyoco","homepage":null,"size":47,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":6,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nomlab/hiyoco/pulls/19"},"html":{"href":"https://github.com/nomlab/hiyoco/pull/19"},"issue":{"href":"https://api.github.com/repos/nomlab/hiyoco/issues/19"},"comments":{"href":"https://api.github.com/repos/nomlab/hiyoco/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/nomlab/hiyoco/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/nomlab/hiyoco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nomlab/hiyoco/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/nomlab/hiyoco/statuses/25a3cf9d213d9c5576ccdf4aaceffd6bd5d343c8"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":17,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"HiromuIshikawa"}}