{"action":"created","comment":{"url":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/comments/43310855","id":43310855,"diff_hunk":"@@ -53,12 +53,15 @@ def generate_events\n         event.gameid = event_json['id']\n         event.league = self.league\n         event.line = ((event_json['competitions'].first['odds'] || []).first || {})['details']\n+        event.over_under = ((event_json['competitions'].first['odds'] || []).first || {})['overUnder']\n \n         event.status = generate_status(event_json)\n         event.competitors = generate_competitors(event_json)\n         event.headline = generate_headline(event_json['competitions'].first['headlines'].to_a.first.to_h, event)\n \n-        event.channel = (((event_json['competitions'].first['broadcasts'] || []).first || {})['names'] || []).first\n+        event.channel = (((event_json['competitions'].first['broadcasts'] || []).first || {})['names'] || []).join(\"/\")\n+        # event.conference = (((event_json['competitions'].first['groups'] || []).first || {})['shortName'] || []).first\n+        # event.neutral = event_json['competitions']['neutralSite'].first","path":"lib/sports_api/fetchers/scores/helpers/api_parser.rb","position":13,"original_position":13,"commit_id":"d80412a60caeb6ef08fd2c785864086b6a20d679","original_commit_id":"d80412a60caeb6ef08fd2c785864086b6a20d679","user":{"login":"austinarchibald","id":12240843,"avatar_url":"https://avatars.githubusercontent.com/u/12240843?v=3","gravatar_id":"","url":"https://api.github.com/users/austinarchibald","html_url":"https://github.com/austinarchibald","followers_url":"https://api.github.com/users/austinarchibald/followers","following_url":"https://api.github.com/users/austinarchibald/following{/other_user}","gists_url":"https://api.github.com/users/austinarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/austinarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinarchibald/subscriptions","organizations_url":"https://api.github.com/users/austinarchibald/orgs","repos_url":"https://api.github.com/users/austinarchibald/repos","events_url":"https://api.github.com/users/austinarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/austinarchibald/received_events","type":"User","site_admin":false},"body":"Yes, they were not correctly set up. Fixing them now with the specs... I'll recommit soon.","created_at":"2015-10-28T20:12:06Z","updated_at":"2015-10-28T20:12:06Z","html_url":"https://github.com/MikeSilvis/sports_api/pull/2#discussion_r43310855","pull_request_url":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/comments/43310855"},"html":{"href":"https://github.com/MikeSilvis/sports_api/pull/2#discussion_r43310855"},"pull_request":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2","id":45224290,"html_url":"https://github.com/MikeSilvis/sports_api/pull/2","diff_url":"https://github.com/MikeSilvis/sports_api/pull/2.diff","patch_url":"https://github.com/MikeSilvis/sports_api/pull/2.patch","issue_url":"https://api.github.com/repos/MikeSilvis/sports_api/issues/2","number":2,"state":"open","locked":false,"title":"added event attrs o/u, neutral, and tweaked channel to include multip…","user":{"login":"austinarchibald","id":12240843,"avatar_url":"https://avatars.githubusercontent.com/u/12240843?v=3","gravatar_id":"","url":"https://api.github.com/users/austinarchibald","html_url":"https://github.com/austinarchibald","followers_url":"https://api.github.com/users/austinarchibald/followers","following_url":"https://api.github.com/users/austinarchibald/following{/other_user}","gists_url":"https://api.github.com/users/austinarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/austinarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinarchibald/subscriptions","organizations_url":"https://api.github.com/users/austinarchibald/orgs","repos_url":"https://api.github.com/users/austinarchibald/repos","events_url":"https://api.github.com/users/austinarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/austinarchibald/received_events","type":"User","site_admin":false},"body":"…le channels\r\n\r\nAdded some more attributes that I'm interested in. It does need a tweak though, getting the right selector for neutralSite. Couldn't figure it out. ","created_at":"2015-09-16T21:06:16Z","updated_at":"2015-10-28T20:12:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ca7df140065cafc3435fb3ba80415c37d6df9c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MikeSilvis/sports_api/issues/2/comments","statuses_url":"https://api.github.com/repos/MikeSilvis/sports_api/statuses/d80412a60caeb6ef08fd2c785864086b6a20d679","head":{"label":"austinarchibald:master","ref":"master","sha":"d80412a60caeb6ef08fd2c785864086b6a20d679","user":{"login":"austinarchibald","id":12240843,"avatar_url":"https://avatars.githubusercontent.com/u/12240843?v=3","gravatar_id":"","url":"https://api.github.com/users/austinarchibald","html_url":"https://github.com/austinarchibald","followers_url":"https://api.github.com/users/austinarchibald/followers","following_url":"https://api.github.com/users/austinarchibald/following{/other_user}","gists_url":"https://api.github.com/users/austinarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/austinarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinarchibald/subscriptions","organizations_url":"https://api.github.com/users/austinarchibald/orgs","repos_url":"https://api.github.com/users/austinarchibald/repos","events_url":"https://api.github.com/users/austinarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/austinarchibald/received_events","type":"User","site_admin":false},"repo":{"id":42601027,"name":"sports_api","full_name":"austinarchibald/sports_api","owner":{"login":"austinarchibald","id":12240843,"avatar_url":"https://avatars.githubusercontent.com/u/12240843?v=3","gravatar_id":"","url":"https://api.github.com/users/austinarchibald","html_url":"https://github.com/austinarchibald","followers_url":"https://api.github.com/users/austinarchibald/followers","following_url":"https://api.github.com/users/austinarchibald/following{/other_user}","gists_url":"https://api.github.com/users/austinarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/austinarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austinarchibald/subscriptions","organizations_url":"https://api.github.com/users/austinarchibald/orgs","repos_url":"https://api.github.com/users/austinarchibald/repos","events_url":"https://api.github.com/users/austinarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/austinarchibald/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/austinarchibald/sports_api","description":"Sports API scraper to return JSON feeds for various sports.","fork":true,"url":"https://api.github.com/repos/austinarchibald/sports_api","forks_url":"https://api.github.com/repos/austinarchibald/sports_api/forks","keys_url":"https://api.github.com/repos/austinarchibald/sports_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/austinarchibald/sports_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/austinarchibald/sports_api/teams","hooks_url":"https://api.github.com/repos/austinarchibald/sports_api/hooks","issue_events_url":"https://api.github.com/repos/austinarchibald/sports_api/issues/events{/number}","events_url":"https://api.github.com/repos/austinarchibald/sports_api/events","assignees_url":"https://api.github.com/repos/austinarchibald/sports_api/assignees{/user}","branches_url":"https://api.github.com/repos/austinarchibald/sports_api/branches{/branch}","tags_url":"https://api.github.com/repos/austinarchibald/sports_api/tags","blobs_url":"https://api.github.com/repos/austinarchibald/sports_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/austinarchibald/sports_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/austinarchibald/sports_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/austinarchibald/sports_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/austinarchibald/sports_api/statuses/{sha}","languages_url":"https://api.github.com/repos/austinarchibald/sports_api/languages","stargazers_url":"https://api.github.com/repos/austinarchibald/sports_api/stargazers","contributors_url":"https://api.github.com/repos/austinarchibald/sports_api/contributors","subscribers_url":"https://api.github.com/repos/austinarchibald/sports_api/subscribers","subscription_url":"https://api.github.com/repos/austinarchibald/sports_api/subscription","commits_url":"https://api.github.com/repos/austinarchibald/sports_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/austinarchibald/sports_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/austinarchibald/sports_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/austinarchibald/sports_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/austinarchibald/sports_api/contents/{+path}","compare_url":"https://api.github.com/repos/austinarchibald/sports_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/austinarchibald/sports_api/merges","archive_url":"https://api.github.com/repos/austinarchibald/sports_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/austinarchibald/sports_api/downloads","issues_url":"https://api.github.com/repos/austinarchibald/sports_api/issues{/number}","pulls_url":"https://api.github.com/repos/austinarchibald/sports_api/pulls{/number}","milestones_url":"https://api.github.com/repos/austinarchibald/sports_api/milestones{/number}","notifications_url":"https://api.github.com/repos/austinarchibald/sports_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/austinarchibald/sports_api/labels{/name}","releases_url":"https://api.github.com/repos/austinarchibald/sports_api/releases{/id}","created_at":"2015-09-16T16:56:03Z","updated_at":"2015-09-16T16:56:04Z","pushed_at":"2015-10-28T16:17:37Z","git_url":"git://github.com/austinarchibald/sports_api.git","ssh_url":"git@github.com:austinarchibald/sports_api.git","clone_url":"https://github.com/austinarchibald/sports_api.git","svn_url":"https://github.com/austinarchibald/sports_api","homepage":null,"size":409,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MikeSilvis:master","ref":"master","sha":"de43e0f3c1ed135697272c5833cb159c91068946","user":{"login":"MikeSilvis","id":152323,"avatar_url":"https://avatars.githubusercontent.com/u/152323?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeSilvis","html_url":"https://github.com/MikeSilvis","followers_url":"https://api.github.com/users/MikeSilvis/followers","following_url":"https://api.github.com/users/MikeSilvis/following{/other_user}","gists_url":"https://api.github.com/users/MikeSilvis/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeSilvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeSilvis/subscriptions","organizations_url":"https://api.github.com/users/MikeSilvis/orgs","repos_url":"https://api.github.com/users/MikeSilvis/repos","events_url":"https://api.github.com/users/MikeSilvis/events{/privacy}","received_events_url":"https://api.github.com/users/MikeSilvis/received_events","type":"User","site_admin":false},"repo":{"id":40455622,"name":"sports_api","full_name":"MikeSilvis/sports_api","owner":{"login":"MikeSilvis","id":152323,"avatar_url":"https://avatars.githubusercontent.com/u/152323?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeSilvis","html_url":"https://github.com/MikeSilvis","followers_url":"https://api.github.com/users/MikeSilvis/followers","following_url":"https://api.github.com/users/MikeSilvis/following{/other_user}","gists_url":"https://api.github.com/users/MikeSilvis/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeSilvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeSilvis/subscriptions","organizations_url":"https://api.github.com/users/MikeSilvis/orgs","repos_url":"https://api.github.com/users/MikeSilvis/repos","events_url":"https://api.github.com/users/MikeSilvis/events{/privacy}","received_events_url":"https://api.github.com/users/MikeSilvis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikeSilvis/sports_api","description":"Sports API scraper to return JSON feeds for various sports.","fork":false,"url":"https://api.github.com/repos/MikeSilvis/sports_api","forks_url":"https://api.github.com/repos/MikeSilvis/sports_api/forks","keys_url":"https://api.github.com/repos/MikeSilvis/sports_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikeSilvis/sports_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikeSilvis/sports_api/teams","hooks_url":"https://api.github.com/repos/MikeSilvis/sports_api/hooks","issue_events_url":"https://api.github.com/repos/MikeSilvis/sports_api/issues/events{/number}","events_url":"https://api.github.com/repos/MikeSilvis/sports_api/events","assignees_url":"https://api.github.com/repos/MikeSilvis/sports_api/assignees{/user}","branches_url":"https://api.github.com/repos/MikeSilvis/sports_api/branches{/branch}","tags_url":"https://api.github.com/repos/MikeSilvis/sports_api/tags","blobs_url":"https://api.github.com/repos/MikeSilvis/sports_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikeSilvis/sports_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikeSilvis/sports_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikeSilvis/sports_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikeSilvis/sports_api/statuses/{sha}","languages_url":"https://api.github.com/repos/MikeSilvis/sports_api/languages","stargazers_url":"https://api.github.com/repos/MikeSilvis/sports_api/stargazers","contributors_url":"https://api.github.com/repos/MikeSilvis/sports_api/contributors","subscribers_url":"https://api.github.com/repos/MikeSilvis/sports_api/subscribers","subscription_url":"https://api.github.com/repos/MikeSilvis/sports_api/subscription","commits_url":"https://api.github.com/repos/MikeSilvis/sports_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikeSilvis/sports_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikeSilvis/sports_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikeSilvis/sports_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikeSilvis/sports_api/contents/{+path}","compare_url":"https://api.github.com/repos/MikeSilvis/sports_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikeSilvis/sports_api/merges","archive_url":"https://api.github.com/repos/MikeSilvis/sports_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikeSilvis/sports_api/downloads","issues_url":"https://api.github.com/repos/MikeSilvis/sports_api/issues{/number}","pulls_url":"https://api.github.com/repos/MikeSilvis/sports_api/pulls{/number}","milestones_url":"https://api.github.com/repos/MikeSilvis/sports_api/milestones{/number}","notifications_url":"https://api.github.com/repos/MikeSilvis/sports_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikeSilvis/sports_api/labels{/name}","releases_url":"https://api.github.com/repos/MikeSilvis/sports_api/releases{/id}","created_at":"2015-08-10T00:34:49Z","updated_at":"2015-09-16T13:53:13Z","pushed_at":"2015-10-28T16:17:38Z","git_url":"git://github.com/MikeSilvis/sports_api.git","ssh_url":"git@github.com:MikeSilvis/sports_api.git","clone_url":"https://github.com/MikeSilvis/sports_api.git","svn_url":"https://github.com/MikeSilvis/sports_api","homepage":null,"size":555,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2"},"html":{"href":"https://github.com/MikeSilvis/sports_api/pull/2"},"issue":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/issues/2"},"comments":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/MikeSilvis/sports_api/statuses/d80412a60caeb6ef08fd2c785864086b6a20d679"}}}}