{"action":"created","issue":{"url":"https://api.github.com/repos/feedforce/ruboty-sebastian/issues/9","labels_url":"https://api.github.com/repos/feedforce/ruboty-sebastian/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/feedforce/ruboty-sebastian/issues/9/comments","events_url":"https://api.github.com/repos/feedforce/ruboty-sebastian/issues/9/events","html_url":"https://github.com/feedforce/ruboty-sebastian/pull/9","id":86506011,"number":9,"title":"[WIP]イベント取得ロジックの実装","user":{"login":"otofu-square","id":10118235,"avatar_url":"https://avatars.githubusercontent.com/u/10118235?v=3","gravatar_id":"","url":"https://api.github.com/users/otofu-square","html_url":"https://github.com/otofu-square","followers_url":"https://api.github.com/users/otofu-square/followers","following_url":"https://api.github.com/users/otofu-square/following{/other_user}","gists_url":"https://api.github.com/users/otofu-square/gists{/gist_id}","starred_url":"https://api.github.com/users/otofu-square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otofu-square/subscriptions","organizations_url":"https://api.github.com/users/otofu-square/orgs","repos_url":"https://api.github.com/users/otofu-square/repos","events_url":"https://api.github.com/users/otofu-square/events{/privacy}","received_events_url":"https://api.github.com/users/otofu-square/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-09T08:24:16Z","updated_at":"2015-06-10T02:28:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/feedforce/ruboty-sebastian/pulls/9","html_url":"https://github.com/feedforce/ruboty-sebastian/pull/9","diff_url":"https://github.com/feedforce/ruboty-sebastian/pull/9.diff","patch_url":"https://github.com/feedforce/ruboty-sebastian/pull/9.patch"},"body":"## PRの目的\r\n\r\n東京ドーム、東京ドームシティホールのイベントを取得する機能の実装し、メッセージ出力機能への埋め込みを目的とします。\r\n\r\n## 実装内容\r\n\r\n下記2機能になります。\r\n\r\n#### [WIP]東京ドームのイベントを取得する機能\r\n\r\n- http://www.tokyo-dome.co.jp/dome/schedule/を解析する\r\n- 解析して得られた実行日当日に行われる試合名、対戦情報をハッシュで返す\r\n- イベントがない場合はnilを返す\r\n\r\n#### 東京ドームシティホールのイベントを取得する機能\r\n\r\n- http://www.tokyo-dome.co.jp/tdc-hall/event/を解析する\r\n- 解析して得られた実行日当日に行われるイベントのタイトル、URLをハッシュで返す\r\n- イベントがない場合、もしくは'reserved'隣っている場合はnilを返す\r\n\r\n## 動作確認方法\r\n\r\nruboty greet morningとコマンドを打つことで、実行日当日に開催されるイベントの情報が発言されます。ただし、イベントが開催されない場合、もしくはreservedとなっている場合はイベントに関しての発言は行いません。\r\n\r\n## 特に見てほしい箇所\r\n\r\n処理の流れに問題がないか確認をお願いします。\r\n現時点では東京ドームシティホールのイベントを取得する機能のみ実装が終わっています。\r\n\r\n## 別PRで実装予定のもの\r\n- 文言が堅い件の修正\r\n- 祝日判定ロジック"},"comment":{"url":"https://api.github.com/repos/feedforce/ruboty-sebastian/issues/comments/110563043","html_url":"https://github.com/feedforce/ruboty-sebastian/pull/9#issuecomment-110563043","issue_url":"https://api.github.com/repos/feedforce/ruboty-sebastian/issues/9","id":110563043,"user":{"login":"otofu-square","id":10118235,"avatar_url":"https://avatars.githubusercontent.com/u/10118235?v=3","gravatar_id":"","url":"https://api.github.com/users/otofu-square","html_url":"https://github.com/otofu-square","followers_url":"https://api.github.com/users/otofu-square/followers","following_url":"https://api.github.com/users/otofu-square/following{/other_user}","gists_url":"https://api.github.com/users/otofu-square/gists{/gist_id}","starred_url":"https://api.github.com/users/otofu-square/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otofu-square/subscriptions","organizations_url":"https://api.github.com/users/otofu-square/orgs","repos_url":"https://api.github.com/users/otofu-square/repos","events_url":"https://api.github.com/users/otofu-square/events{/privacy}","received_events_url":"https://api.github.com/users/otofu-square/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T02:28:21Z","updated_at":"2015-06-10T02:28:21Z","body":"@TasukuNakano \r\nrebase済みです！"}}