{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/1","id":46791407,"html_url":"https://github.com/FumikoIshizawa/slack-daylog/pull/1","diff_url":"https://github.com/FumikoIshizawa/slack-daylog/pull/1.diff","patch_url":"https://github.com/FumikoIshizawa/slack-daylog/pull/1.patch","issue_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/1","number":1,"state":"open","locked":false,"title":"Slackログの部分をクラスっぽく書いてみた","user":{"login":"FumikoIshizawa","id":4344188,"avatar_url":"https://avatars.githubusercontent.com/u/4344188?v=3","gravatar_id":"","url":"https://api.github.com/users/FumikoIshizawa","html_url":"https://github.com/FumikoIshizawa","followers_url":"https://api.github.com/users/FumikoIshizawa/followers","following_url":"https://api.github.com/users/FumikoIshizawa/following{/other_user}","gists_url":"https://api.github.com/users/FumikoIshizawa/gists{/gist_id}","starred_url":"https://api.github.com/users/FumikoIshizawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FumikoIshizawa/subscriptions","organizations_url":"https://api.github.com/users/FumikoIshizawa/orgs","repos_url":"https://api.github.com/users/FumikoIshizawa/repos","events_url":"https://api.github.com/users/FumikoIshizawa/events{/privacy}","received_events_url":"https://api.github.com/users/FumikoIshizawa/received_events","type":"User","site_admin":false},"body":"### クラスっぽく\r\n\r\nログ取得部分は`slack.py`に移しました\r\n- get_channel_list\r\n- get_channel_info(まだ実装してなし)\r\n- get_history_list\r\n\r\nを使ってみてくだされ\r\n\r\n### 補足\r\n`slackLog.py`のprint_utf8で、unicodeからutf-8にエンコードしてるから、参考にしてみてくだされ","created_at":"2015-10-05T14:59:01Z","updated_at":"2015-10-05T14:59:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/1/commits","review_comments_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/1/comments","review_comment_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/1/comments","statuses_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/statuses/f2cd1c5c97c167cc4bec06f03f929cfded5ae4d4","head":{"label":"FumikoIshizawa:class","ref":"class","sha":"f2cd1c5c97c167cc4bec06f03f929cfded5ae4d4","user":{"login":"FumikoIshizawa","id":4344188,"avatar_url":"https://avatars.githubusercontent.com/u/4344188?v=3","gravatar_id":"","url":"https://api.github.com/users/FumikoIshizawa","html_url":"https://github.com/FumikoIshizawa","followers_url":"https://api.github.com/users/FumikoIshizawa/followers","following_url":"https://api.github.com/users/FumikoIshizawa/following{/other_user}","gists_url":"https://api.github.com/users/FumikoIshizawa/gists{/gist_id}","starred_url":"https://api.github.com/users/FumikoIshizawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FumikoIshizawa/subscriptions","organizations_url":"https://api.github.com/users/FumikoIshizawa/orgs","repos_url":"https://api.github.com/users/FumikoIshizawa/repos","events_url":"https://api.github.com/users/FumikoIshizawa/events{/privacy}","received_events_url":"https://api.github.com/users/FumikoIshizawa/received_events","type":"User","site_admin":false},"repo":{"id":42057404,"name":"slack-daylog","full_name":"FumikoIshizawa/slack-daylog","owner":{"login":"FumikoIshizawa","id":4344188,"avatar_url":"https://avatars.githubusercontent.com/u/4344188?v=3","gravatar_id":"","url":"https://api.github.com/users/FumikoIshizawa","html_url":"https://github.com/FumikoIshizawa","followers_url":"https://api.github.com/users/FumikoIshizawa/followers","following_url":"https://api.github.com/users/FumikoIshizawa/following{/other_user}","gists_url":"https://api.github.com/users/FumikoIshizawa/gists{/gist_id}","starred_url":"https://api.github.com/users/FumikoIshizawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FumikoIshizawa/subscriptions","organizations_url":"https://api.github.com/users/FumikoIshizawa/orgs","repos_url":"https://api.github.com/users/FumikoIshizawa/repos","events_url":"https://api.github.com/users/FumikoIshizawa/events{/privacy}","received_events_url":"https://api.github.com/users/FumikoIshizawa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FumikoIshizawa/slack-daylog","description":"","fork":false,"url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog","forks_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/forks","keys_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/teams","hooks_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/hooks","issue_events_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/events{/number}","events_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/events","assignees_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/assignees{/user}","branches_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/branches{/branch}","tags_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/tags","blobs_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/refs{/sha}","trees_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/statuses/{sha}","languages_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/languages","stargazers_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/stargazers","contributors_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/contributors","subscribers_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/subscribers","subscription_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/subscription","commits_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/commits{/sha}","git_commits_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/commits{/sha}","comments_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/comments{/number}","issue_comment_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/comments{/number}","contents_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/contents/{+path}","compare_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/merges","archive_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/downloads","issues_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues{/number}","pulls_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls{/number}","milestones_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/milestones{/number}","notifications_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/labels{/name}","releases_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/releases{/id}","created_at":"2015-09-07T14:29:12Z","updated_at":"2015-09-07T14:32:29Z","pushed_at":"2015-10-05T14:53:10Z","git_url":"git://github.com/FumikoIshizawa/slack-daylog.git","ssh_url":"git@github.com:FumikoIshizawa/slack-daylog.git","clone_url":"https://github.com/FumikoIshizawa/slack-daylog.git","svn_url":"https://github.com/FumikoIshizawa/slack-daylog","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"FumikoIshizawa:python2","ref":"python2","sha":"19226d5a17464269315424aaeb4ac6634c2e1cf6","user":{"login":"FumikoIshizawa","id":4344188,"avatar_url":"https://avatars.githubusercontent.com/u/4344188?v=3","gravatar_id":"","url":"https://api.github.com/users/FumikoIshizawa","html_url":"https://github.com/FumikoIshizawa","followers_url":"https://api.github.com/users/FumikoIshizawa/followers","following_url":"https://api.github.com/users/FumikoIshizawa/following{/other_user}","gists_url":"https://api.github.com/users/FumikoIshizawa/gists{/gist_id}","starred_url":"https://api.github.com/users/FumikoIshizawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FumikoIshizawa/subscriptions","organizations_url":"https://api.github.com/users/FumikoIshizawa/orgs","repos_url":"https://api.github.com/users/FumikoIshizawa/repos","events_url":"https://api.github.com/users/FumikoIshizawa/events{/privacy}","received_events_url":"https://api.github.com/users/FumikoIshizawa/received_events","type":"User","site_admin":false},"repo":{"id":42057404,"name":"slack-daylog","full_name":"FumikoIshizawa/slack-daylog","owner":{"login":"FumikoIshizawa","id":4344188,"avatar_url":"https://avatars.githubusercontent.com/u/4344188?v=3","gravatar_id":"","url":"https://api.github.com/users/FumikoIshizawa","html_url":"https://github.com/FumikoIshizawa","followers_url":"https://api.github.com/users/FumikoIshizawa/followers","following_url":"https://api.github.com/users/FumikoIshizawa/following{/other_user}","gists_url":"https://api.github.com/users/FumikoIshizawa/gists{/gist_id}","starred_url":"https://api.github.com/users/FumikoIshizawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FumikoIshizawa/subscriptions","organizations_url":"https://api.github.com/users/FumikoIshizawa/orgs","repos_url":"https://api.github.com/users/FumikoIshizawa/repos","events_url":"https://api.github.com/users/FumikoIshizawa/events{/privacy}","received_events_url":"https://api.github.com/users/FumikoIshizawa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FumikoIshizawa/slack-daylog","description":"","fork":false,"url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog","forks_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/forks","keys_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/teams","hooks_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/hooks","issue_events_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/events{/number}","events_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/events","assignees_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/assignees{/user}","branches_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/branches{/branch}","tags_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/tags","blobs_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/refs{/sha}","trees_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/statuses/{sha}","languages_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/languages","stargazers_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/stargazers","contributors_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/contributors","subscribers_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/subscribers","subscription_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/subscription","commits_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/commits{/sha}","git_commits_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/git/commits{/sha}","comments_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/comments{/number}","issue_comment_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/comments{/number}","contents_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/contents/{+path}","compare_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/merges","archive_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/downloads","issues_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues{/number}","pulls_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls{/number}","milestones_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/milestones{/number}","notifications_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/labels{/name}","releases_url":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/releases{/id}","created_at":"2015-09-07T14:29:12Z","updated_at":"2015-09-07T14:32:29Z","pushed_at":"2015-10-05T14:53:10Z","git_url":"git://github.com/FumikoIshizawa/slack-daylog.git","ssh_url":"git@github.com:FumikoIshizawa/slack-daylog.git","clone_url":"https://github.com/FumikoIshizawa/slack-daylog.git","svn_url":"https://github.com/FumikoIshizawa/slack-daylog","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/1"},"html":{"href":"https://github.com/FumikoIshizawa/slack-daylog/pull/1"},"issue":{"href":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/1"},"comments":{"href":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/FumikoIshizawa/slack-daylog/statuses/f2cd1c5c97c167cc4bec06f03f929cfded5ae4d4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":72,"deletions":61,"changed_files":2}}