{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/2","id":37505326,"html_url":"https://github.com/codingforeveryone/MonkeyPhone/pull/2","diff_url":"https://github.com/codingforeveryone/MonkeyPhone/pull/2.diff","patch_url":"https://github.com/codingforeveryone/MonkeyPhone/pull/2.patch","issue_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/issues/2","number":2,"state":"open","locked":false,"title":"Guardian - Discogs","user":{"login":"tbtommyb","id":10003633,"avatar_url":"https://avatars.githubusercontent.com/u/10003633?v=3","gravatar_id":"","url":"https://api.github.com/users/tbtommyb","html_url":"https://github.com/tbtommyb","followers_url":"https://api.github.com/users/tbtommyb/followers","following_url":"https://api.github.com/users/tbtommyb/following{/other_user}","gists_url":"https://api.github.com/users/tbtommyb/gists{/gist_id}","starred_url":"https://api.github.com/users/tbtommyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbtommyb/subscriptions","organizations_url":"https://api.github.com/users/tbtommyb/orgs","repos_url":"https://api.github.com/users/tbtommyb/repos","events_url":"https://api.github.com/users/tbtommyb/events{/privacy}","received_events_url":"https://api.github.com/users/tbtommyb/received_events","type":"User","site_admin":false},"body":"hey, so I thought it would be fun to take the Guardian headline and return a record from Discogs, as a way of playing with two APIs.\r\n\r\nI've got it to pull the first headline from the Guardian (this isn't the main headline on the website, which seems to be due mostly to a quirk of their API as far as I can tell). I have also picked out the first word of the headline (on the basis that it's normally the most important) and intent to use it as a search term on Discogs. Before I can get that working I need to do authorisation on Discogs.\r\n\r\nCurrently using htmlreview.github.io is throwing up problems and I can't tell if that's due to my code, so a second pair of eyes would be awesome!\r\n\r\ntom","created_at":"2015-06-11T20:30:53Z","updated_at":"2015-06-11T20:30:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/2/commits","review_comments_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/2/comments","review_comment_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/issues/2/comments","statuses_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/statuses/8161607dd83758992baeccedca41eccfe5013f1b","head":{"label":"tbtommyb:master","ref":"master","sha":"8161607dd83758992baeccedca41eccfe5013f1b","user":{"login":"tbtommyb","id":10003633,"avatar_url":"https://avatars.githubusercontent.com/u/10003633?v=3","gravatar_id":"","url":"https://api.github.com/users/tbtommyb","html_url":"https://github.com/tbtommyb","followers_url":"https://api.github.com/users/tbtommyb/followers","following_url":"https://api.github.com/users/tbtommyb/following{/other_user}","gists_url":"https://api.github.com/users/tbtommyb/gists{/gist_id}","starred_url":"https://api.github.com/users/tbtommyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbtommyb/subscriptions","organizations_url":"https://api.github.com/users/tbtommyb/orgs","repos_url":"https://api.github.com/users/tbtommyb/repos","events_url":"https://api.github.com/users/tbtommyb/events{/privacy}","received_events_url":"https://api.github.com/users/tbtommyb/received_events","type":"User","site_admin":false},"repo":{"id":37280314,"name":"MonkeyPhone","full_name":"tbtommyb/MonkeyPhone","owner":{"login":"tbtommyb","id":10003633,"avatar_url":"https://avatars.githubusercontent.com/u/10003633?v=3","gravatar_id":"","url":"https://api.github.com/users/tbtommyb","html_url":"https://github.com/tbtommyb","followers_url":"https://api.github.com/users/tbtommyb/followers","following_url":"https://api.github.com/users/tbtommyb/following{/other_user}","gists_url":"https://api.github.com/users/tbtommyb/gists{/gist_id}","starred_url":"https://api.github.com/users/tbtommyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbtommyb/subscriptions","organizations_url":"https://api.github.com/users/tbtommyb/orgs","repos_url":"https://api.github.com/users/tbtommyb/repos","events_url":"https://api.github.com/users/tbtommyb/events{/privacy}","received_events_url":"https://api.github.com/users/tbtommyb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbtommyb/MonkeyPhone","description":"This is one of a series of 3 newbie friendly projects for 24 Pull Requests: http://24pullrequests.com/. ","fork":true,"url":"https://api.github.com/repos/tbtommyb/MonkeyPhone","forks_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/forks","keys_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/teams","hooks_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/hooks","issue_events_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/issues/events{/number}","events_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/events","assignees_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/assignees{/user}","branches_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/branches{/branch}","tags_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/tags","blobs_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/statuses/{sha}","languages_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/languages","stargazers_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/stargazers","contributors_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/contributors","subscribers_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/subscribers","subscription_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/subscription","commits_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/contents/{+path}","compare_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/merges","archive_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/downloads","issues_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/issues{/number}","pulls_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/pulls{/number}","milestones_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/milestones{/number}","notifications_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/labels{/name}","releases_url":"https://api.github.com/repos/tbtommyb/MonkeyPhone/releases{/id}","created_at":"2015-06-11T19:02:39Z","updated_at":"2015-06-11T19:54:54Z","pushed_at":"2015-06-11T20:23:32Z","git_url":"git://github.com/tbtommyb/MonkeyPhone.git","ssh_url":"git@github.com:tbtommyb/MonkeyPhone.git","clone_url":"https://github.com/tbtommyb/MonkeyPhone.git","svn_url":"https://github.com/tbtommyb/MonkeyPhone","homepage":"","size":89,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"codingforeveryone:master","ref":"master","sha":"d49933cd9a2717aa03e6715d33e9c8ea2427a6da","user":{"login":"codingforeveryone","id":12197231,"avatar_url":"https://avatars.githubusercontent.com/u/12197231?v=3","gravatar_id":"","url":"https://api.github.com/users/codingforeveryone","html_url":"https://github.com/codingforeveryone","followers_url":"https://api.github.com/users/codingforeveryone/followers","following_url":"https://api.github.com/users/codingforeveryone/following{/other_user}","gists_url":"https://api.github.com/users/codingforeveryone/gists{/gist_id}","starred_url":"https://api.github.com/users/codingforeveryone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingforeveryone/subscriptions","organizations_url":"https://api.github.com/users/codingforeveryone/orgs","repos_url":"https://api.github.com/users/codingforeveryone/repos","events_url":"https://api.github.com/users/codingforeveryone/events{/privacy}","received_events_url":"https://api.github.com/users/codingforeveryone/received_events","type":"Organization","site_admin":false},"repo":{"id":34945094,"name":"MonkeyPhone","full_name":"codingforeveryone/MonkeyPhone","owner":{"login":"codingforeveryone","id":12197231,"avatar_url":"https://avatars.githubusercontent.com/u/12197231?v=3","gravatar_id":"","url":"https://api.github.com/users/codingforeveryone","html_url":"https://github.com/codingforeveryone","followers_url":"https://api.github.com/users/codingforeveryone/followers","following_url":"https://api.github.com/users/codingforeveryone/following{/other_user}","gists_url":"https://api.github.com/users/codingforeveryone/gists{/gist_id}","starred_url":"https://api.github.com/users/codingforeveryone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingforeveryone/subscriptions","organizations_url":"https://api.github.com/users/codingforeveryone/orgs","repos_url":"https://api.github.com/users/codingforeveryone/repos","events_url":"https://api.github.com/users/codingforeveryone/events{/privacy}","received_events_url":"https://api.github.com/users/codingforeveryone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codingforeveryone/MonkeyPhone","description":"This is one of a series of 3 newbie friendly projects for 24 Pull Requests: http://24pullrequests.com/. ","fork":true,"url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone","forks_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/forks","keys_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/teams","hooks_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/hooks","issue_events_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/issues/events{/number}","events_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/events","assignees_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/assignees{/user}","branches_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/branches{/branch}","tags_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/tags","blobs_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/git/refs{/sha}","trees_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/statuses/{sha}","languages_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/languages","stargazers_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/stargazers","contributors_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/contributors","subscribers_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/subscribers","subscription_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/subscription","commits_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/commits{/sha}","git_commits_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/git/commits{/sha}","comments_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/comments{/number}","issue_comment_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/issues/comments{/number}","contents_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/contents/{+path}","compare_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/merges","archive_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/downloads","issues_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/issues{/number}","pulls_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls{/number}","milestones_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/milestones{/number}","notifications_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/labels{/name}","releases_url":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/releases{/id}","created_at":"2015-05-02T11:22:09Z","updated_at":"2015-05-02T15:31:52Z","pushed_at":"2015-05-02T15:31:52Z","git_url":"git://github.com/codingforeveryone/MonkeyPhone.git","ssh_url":"git@github.com:codingforeveryone/MonkeyPhone.git","clone_url":"https://github.com/codingforeveryone/MonkeyPhone.git","svn_url":"https://github.com/codingforeveryone/MonkeyPhone","homepage":"","size":115,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/2"},"html":{"href":"https://github.com/codingforeveryone/MonkeyPhone/pull/2"},"issue":{"href":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/issues/2"},"comments":{"href":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/codingforeveryone/MonkeyPhone/statuses/8161607dd83758992baeccedca41eccfe5013f1b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":12,"additions":46,"deletions":8,"changed_files":3}}