{"action":"created","comment":{"url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/comments/83741137","pull_request_review_id":4564956,"id":83741137,"diff_hunk":"@@ -0,0 +1,27 @@\n+package myradio\n+\n+import (\n+\t\"encoding/json\"\n+)\n+\n+// Banner represents the key information about banners\n+type Banner struct {\n+\tBannerID int    `json:\"banner_id\"`\n+\tAlt      string `json:\"alt\"`\n+\tTarget   string `json:\"Target\"`\n+\tURL      string `json:\"url\"`\n+}\n+\n+// GetLiveBanners gets the current live banners\n+// and returns a sice of banners\n+func (s *Session) GetLiveBanners() (banners []Banner, err error) {\n+\tdata, err := s.apiRequest(\"/banner/livebanners/\", []string{})\n+\tif err != nil {\n+\t\treturn\n+\t}\n+\n+\terr = json.Unmarshal(*data, &banners)\n+\n+\treturn\n+","path":"banner.go","position":26,"original_position":26,"commit_id":"4301d86bac8382b64fe2d4c08c4982d4b9c8b8ad","original_commit_id":"4301d86bac8382b64fe2d4c08c4982d4b9c8b8ad","user":{"login":"CaptainHayashi","id":374963,"avatar_url":"https://avatars.githubusercontent.com/u/374963?v=3","gravatar_id":"","url":"https://api.github.com/users/CaptainHayashi","html_url":"https://github.com/CaptainHayashi","followers_url":"https://api.github.com/users/CaptainHayashi/followers","following_url":"https://api.github.com/users/CaptainHayashi/following{/other_user}","gists_url":"https://api.github.com/users/CaptainHayashi/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptainHayashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptainHayashi/subscriptions","organizations_url":"https://api.github.com/users/CaptainHayashi/orgs","repos_url":"https://api.github.com/users/CaptainHayashi/repos","events_url":"https://api.github.com/users/CaptainHayashi/events{/privacy}","received_events_url":"https://api.github.com/users/CaptainHayashi/received_events","type":"User","site_admin":false},"body":"Have you run some linters (gometalinter etc) on this?","created_at":"2016-10-17T21:43:43Z","updated_at":"2016-10-17T21:44:28Z","html_url":"https://github.com/UniversityRadioYork/myradio-go/pull/18#discussion_r83741137","pull_request_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/comments/83741137"},"html":{"href":"https://github.com/UniversityRadioYork/myradio-go/pull/18#discussion_r83741137"},"pull_request":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18","id":88917759,"html_url":"https://github.com/UniversityRadioYork/myradio-go/pull/18","diff_url":"https://github.com/UniversityRadioYork/myradio-go/pull/18.diff","patch_url":"https://github.com/UniversityRadioYork/myradio-go/pull/18.patch","issue_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/18","number":18,"state":"open","locked":false,"title":"Added the basis of banners","user":{"login":"Brookke","id":10200358,"avatar_url":"https://avatars.githubusercontent.com/u/10200358?v=3","gravatar_id":"","url":"https://api.github.com/users/Brookke","html_url":"https://github.com/Brookke","followers_url":"https://api.github.com/users/Brookke/followers","following_url":"https://api.github.com/users/Brookke/following{/other_user}","gists_url":"https://api.github.com/users/Brookke/gists{/gist_id}","starred_url":"https://api.github.com/users/Brookke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brookke/subscriptions","organizations_url":"https://api.github.com/users/Brookke/orgs","repos_url":"https://api.github.com/users/Brookke/repos","events_url":"https://api.github.com/users/Brookke/events{/privacy}","received_events_url":"https://api.github.com/users/Brookke/received_events","type":"User","site_admin":false},"body":"Ready for use in the 2016-site","created_at":"2016-10-11T21:49:11Z","updated_at":"2016-10-17T21:44:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3353d80be13c01dc5b23c59083370748f15e0a51","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18/commits","review_comments_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18/comments","review_comment_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/18/comments","statuses_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/statuses/4301d86bac8382b64fe2d4c08c4982d4b9c8b8ad","head":{"label":"UniversityRadioYork:brooke-add-banner","ref":"brooke-add-banner","sha":"4301d86bac8382b64fe2d4c08c4982d4b9c8b8ad","user":{"login":"UniversityRadioYork","id":823554,"avatar_url":"https://avatars.githubusercontent.com/u/823554?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversityRadioYork","html_url":"https://github.com/UniversityRadioYork","followers_url":"https://api.github.com/users/UniversityRadioYork/followers","following_url":"https://api.github.com/users/UniversityRadioYork/following{/other_user}","gists_url":"https://api.github.com/users/UniversityRadioYork/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversityRadioYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversityRadioYork/subscriptions","organizations_url":"https://api.github.com/users/UniversityRadioYork/orgs","repos_url":"https://api.github.com/users/UniversityRadioYork/repos","events_url":"https://api.github.com/users/UniversityRadioYork/events{/privacy}","received_events_url":"https://api.github.com/users/UniversityRadioYork/received_events","type":"Organization","site_admin":false},"repo":{"id":40062303,"name":"myradio-go","full_name":"UniversityRadioYork/myradio-go","owner":{"login":"UniversityRadioYork","id":823554,"avatar_url":"https://avatars.githubusercontent.com/u/823554?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversityRadioYork","html_url":"https://github.com/UniversityRadioYork","followers_url":"https://api.github.com/users/UniversityRadioYork/followers","following_url":"https://api.github.com/users/UniversityRadioYork/following{/other_user}","gists_url":"https://api.github.com/users/UniversityRadioYork/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversityRadioYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversityRadioYork/subscriptions","organizations_url":"https://api.github.com/users/UniversityRadioYork/orgs","repos_url":"https://api.github.com/users/UniversityRadioYork/repos","events_url":"https://api.github.com/users/UniversityRadioYork/events{/privacy}","received_events_url":"https://api.github.com/users/UniversityRadioYork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UniversityRadioYork/myradio-go","description":"Go wrapper for the Myradio API","fork":false,"url":"https://api.github.com/repos/UniversityRadioYork/myradio-go","forks_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/forks","keys_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/teams","hooks_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/hooks","issue_events_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/events{/number}","events_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/events","assignees_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/assignees{/user}","branches_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/branches{/branch}","tags_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/tags","blobs_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/statuses/{sha}","languages_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/languages","stargazers_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/stargazers","contributors_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/contributors","subscribers_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/subscribers","subscription_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/subscription","commits_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/contents/{+path}","compare_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/merges","archive_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/downloads","issues_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues{/number}","pulls_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls{/number}","milestones_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/milestones{/number}","notifications_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/labels{/name}","releases_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/releases{/id}","deployments_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/deployments","created_at":"2015-08-01T22:55:37Z","updated_at":"2016-02-11T10:50:34Z","pushed_at":"2016-10-12T21:07:57Z","git_url":"git://github.com/UniversityRadioYork/myradio-go.git","ssh_url":"git@github.com:UniversityRadioYork/myradio-go.git","clone_url":"https://github.com/UniversityRadioYork/myradio-go.git","svn_url":"https://github.com/UniversityRadioYork/myradio-go","homepage":"","size":67,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"UniversityRadioYork:master","ref":"master","sha":"47336b08ac780b4ec9a0d2572bcea2e72d0b61ee","user":{"login":"UniversityRadioYork","id":823554,"avatar_url":"https://avatars.githubusercontent.com/u/823554?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversityRadioYork","html_url":"https://github.com/UniversityRadioYork","followers_url":"https://api.github.com/users/UniversityRadioYork/followers","following_url":"https://api.github.com/users/UniversityRadioYork/following{/other_user}","gists_url":"https://api.github.com/users/UniversityRadioYork/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversityRadioYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversityRadioYork/subscriptions","organizations_url":"https://api.github.com/users/UniversityRadioYork/orgs","repos_url":"https://api.github.com/users/UniversityRadioYork/repos","events_url":"https://api.github.com/users/UniversityRadioYork/events{/privacy}","received_events_url":"https://api.github.com/users/UniversityRadioYork/received_events","type":"Organization","site_admin":false},"repo":{"id":40062303,"name":"myradio-go","full_name":"UniversityRadioYork/myradio-go","owner":{"login":"UniversityRadioYork","id":823554,"avatar_url":"https://avatars.githubusercontent.com/u/823554?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversityRadioYork","html_url":"https://github.com/UniversityRadioYork","followers_url":"https://api.github.com/users/UniversityRadioYork/followers","following_url":"https://api.github.com/users/UniversityRadioYork/following{/other_user}","gists_url":"https://api.github.com/users/UniversityRadioYork/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversityRadioYork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversityRadioYork/subscriptions","organizations_url":"https://api.github.com/users/UniversityRadioYork/orgs","repos_url":"https://api.github.com/users/UniversityRadioYork/repos","events_url":"https://api.github.com/users/UniversityRadioYork/events{/privacy}","received_events_url":"https://api.github.com/users/UniversityRadioYork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UniversityRadioYork/myradio-go","description":"Go wrapper for the Myradio API","fork":false,"url":"https://api.github.com/repos/UniversityRadioYork/myradio-go","forks_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/forks","keys_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/teams","hooks_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/hooks","issue_events_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/events{/number}","events_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/events","assignees_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/assignees{/user}","branches_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/branches{/branch}","tags_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/tags","blobs_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/statuses/{sha}","languages_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/languages","stargazers_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/stargazers","contributors_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/contributors","subscribers_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/subscribers","subscription_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/subscription","commits_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/contents/{+path}","compare_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/merges","archive_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/downloads","issues_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues{/number}","pulls_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls{/number}","milestones_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/milestones{/number}","notifications_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/labels{/name}","releases_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/releases{/id}","deployments_url":"https://api.github.com/repos/UniversityRadioYork/myradio-go/deployments","created_at":"2015-08-01T22:55:37Z","updated_at":"2016-02-11T10:50:34Z","pushed_at":"2016-10-12T21:07:57Z","git_url":"git://github.com/UniversityRadioYork/myradio-go.git","ssh_url":"git@github.com:UniversityRadioYork/myradio-go.git","clone_url":"https://github.com/UniversityRadioYork/myradio-go.git","svn_url":"https://github.com/UniversityRadioYork/myradio-go","homepage":"","size":67,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18"},"html":{"href":"https://github.com/UniversityRadioYork/myradio-go/pull/18"},"issue":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/18"},"comments":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/UniversityRadioYork/myradio-go/statuses/4301d86bac8382b64fe2d4c08c4982d4b9c8b8ad"}}}}
{"actor":{"display_login":"CaptainHayashi"}}