{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls/1","id":91487553,"html_url":"https://github.com/Johnathan/hue-light-switch/pull/1","diff_url":"https://github.com/Johnathan/hue-light-switch/pull/1.diff","patch_url":"https://github.com/Johnathan/hue-light-switch/pull/1.patch","issue_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/1","number":1,"state":"open","locked":false,"title":"DRYing things up a bit","user":{"login":"Johnathan","id":144165,"avatar_url":"https://avatars.githubusercontent.com/u/144165?v=3","gravatar_id":"","url":"https://api.github.com/users/Johnathan","html_url":"https://github.com/Johnathan","followers_url":"https://api.github.com/users/Johnathan/followers","following_url":"https://api.github.com/users/Johnathan/following{/other_user}","gists_url":"https://api.github.com/users/Johnathan/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnathan/subscriptions","organizations_url":"https://api.github.com/users/Johnathan/orgs","repos_url":"https://api.github.com/users/Johnathan/repos","events_url":"https://api.github.com/users/Johnathan/events{/privacy}","received_events_url":"https://api.github.com/users/Johnathan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-29T12:17:42Z","updated_at":"2016-10-29T12:17:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/1/comments","statuses_url":"https://api.github.com/repos/Johnathan/hue-light-switch/statuses/dacc4f7c21c3f83090719caf1c0a736e66da5dd1","head":{"label":"Johnathan:tidyup","ref":"tidyup","sha":"dacc4f7c21c3f83090719caf1c0a736e66da5dd1","user":{"login":"Johnathan","id":144165,"avatar_url":"https://avatars.githubusercontent.com/u/144165?v=3","gravatar_id":"","url":"https://api.github.com/users/Johnathan","html_url":"https://github.com/Johnathan","followers_url":"https://api.github.com/users/Johnathan/followers","following_url":"https://api.github.com/users/Johnathan/following{/other_user}","gists_url":"https://api.github.com/users/Johnathan/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnathan/subscriptions","organizations_url":"https://api.github.com/users/Johnathan/orgs","repos_url":"https://api.github.com/users/Johnathan/repos","events_url":"https://api.github.com/users/Johnathan/events{/privacy}","received_events_url":"https://api.github.com/users/Johnathan/received_events","type":"User","site_admin":false},"repo":{"id":72245304,"name":"hue-light-switch","full_name":"Johnathan/hue-light-switch","owner":{"login":"Johnathan","id":144165,"avatar_url":"https://avatars.githubusercontent.com/u/144165?v=3","gravatar_id":"","url":"https://api.github.com/users/Johnathan","html_url":"https://github.com/Johnathan","followers_url":"https://api.github.com/users/Johnathan/followers","following_url":"https://api.github.com/users/Johnathan/following{/other_user}","gists_url":"https://api.github.com/users/Johnathan/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnathan/subscriptions","organizations_url":"https://api.github.com/users/Johnathan/orgs","repos_url":"https://api.github.com/users/Johnathan/repos","events_url":"https://api.github.com/users/Johnathan/events{/privacy}","received_events_url":"https://api.github.com/users/Johnathan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Johnathan/hue-light-switch","description":null,"fork":false,"url":"https://api.github.com/repos/Johnathan/hue-light-switch","forks_url":"https://api.github.com/repos/Johnathan/hue-light-switch/forks","keys_url":"https://api.github.com/repos/Johnathan/hue-light-switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Johnathan/hue-light-switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Johnathan/hue-light-switch/teams","hooks_url":"https://api.github.com/repos/Johnathan/hue-light-switch/hooks","issue_events_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/events{/number}","events_url":"https://api.github.com/repos/Johnathan/hue-light-switch/events","assignees_url":"https://api.github.com/repos/Johnathan/hue-light-switch/assignees{/user}","branches_url":"https://api.github.com/repos/Johnathan/hue-light-switch/branches{/branch}","tags_url":"https://api.github.com/repos/Johnathan/hue-light-switch/tags","blobs_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Johnathan/hue-light-switch/statuses/{sha}","languages_url":"https://api.github.com/repos/Johnathan/hue-light-switch/languages","stargazers_url":"https://api.github.com/repos/Johnathan/hue-light-switch/stargazers","contributors_url":"https://api.github.com/repos/Johnathan/hue-light-switch/contributors","subscribers_url":"https://api.github.com/repos/Johnathan/hue-light-switch/subscribers","subscription_url":"https://api.github.com/repos/Johnathan/hue-light-switch/subscription","commits_url":"https://api.github.com/repos/Johnathan/hue-light-switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/Johnathan/hue-light-switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/Johnathan/hue-light-switch/contents/{+path}","compare_url":"https://api.github.com/repos/Johnathan/hue-light-switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Johnathan/hue-light-switch/merges","archive_url":"https://api.github.com/repos/Johnathan/hue-light-switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Johnathan/hue-light-switch/downloads","issues_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues{/number}","pulls_url":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls{/number}","milestones_url":"https://api.github.com/repos/Johnathan/hue-light-switch/milestones{/number}","notifications_url":"https://api.github.com/repos/Johnathan/hue-light-switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Johnathan/hue-light-switch/labels{/name}","releases_url":"https://api.github.com/repos/Johnathan/hue-light-switch/releases{/id}","deployments_url":"https://api.github.com/repos/Johnathan/hue-light-switch/deployments","created_at":"2016-10-28T21:52:24Z","updated_at":"2016-10-29T12:13:06Z","pushed_at":"2016-10-29T12:15:58Z","git_url":"git://github.com/Johnathan/hue-light-switch.git","ssh_url":"git@github.com:Johnathan/hue-light-switch.git","clone_url":"https://github.com/Johnathan/hue-light-switch.git","svn_url":"https://github.com/Johnathan/hue-light-switch","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Johnathan:master","ref":"master","sha":"cbb3746d832f4d062b9f04fd8f10f35757f4a024","user":{"login":"Johnathan","id":144165,"avatar_url":"https://avatars.githubusercontent.com/u/144165?v=3","gravatar_id":"","url":"https://api.github.com/users/Johnathan","html_url":"https://github.com/Johnathan","followers_url":"https://api.github.com/users/Johnathan/followers","following_url":"https://api.github.com/users/Johnathan/following{/other_user}","gists_url":"https://api.github.com/users/Johnathan/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnathan/subscriptions","organizations_url":"https://api.github.com/users/Johnathan/orgs","repos_url":"https://api.github.com/users/Johnathan/repos","events_url":"https://api.github.com/users/Johnathan/events{/privacy}","received_events_url":"https://api.github.com/users/Johnathan/received_events","type":"User","site_admin":false},"repo":{"id":72245304,"name":"hue-light-switch","full_name":"Johnathan/hue-light-switch","owner":{"login":"Johnathan","id":144165,"avatar_url":"https://avatars.githubusercontent.com/u/144165?v=3","gravatar_id":"","url":"https://api.github.com/users/Johnathan","html_url":"https://github.com/Johnathan","followers_url":"https://api.github.com/users/Johnathan/followers","following_url":"https://api.github.com/users/Johnathan/following{/other_user}","gists_url":"https://api.github.com/users/Johnathan/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnathan/subscriptions","organizations_url":"https://api.github.com/users/Johnathan/orgs","repos_url":"https://api.github.com/users/Johnathan/repos","events_url":"https://api.github.com/users/Johnathan/events{/privacy}","received_events_url":"https://api.github.com/users/Johnathan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Johnathan/hue-light-switch","description":null,"fork":false,"url":"https://api.github.com/repos/Johnathan/hue-light-switch","forks_url":"https://api.github.com/repos/Johnathan/hue-light-switch/forks","keys_url":"https://api.github.com/repos/Johnathan/hue-light-switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Johnathan/hue-light-switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Johnathan/hue-light-switch/teams","hooks_url":"https://api.github.com/repos/Johnathan/hue-light-switch/hooks","issue_events_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/events{/number}","events_url":"https://api.github.com/repos/Johnathan/hue-light-switch/events","assignees_url":"https://api.github.com/repos/Johnathan/hue-light-switch/assignees{/user}","branches_url":"https://api.github.com/repos/Johnathan/hue-light-switch/branches{/branch}","tags_url":"https://api.github.com/repos/Johnathan/hue-light-switch/tags","blobs_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Johnathan/hue-light-switch/statuses/{sha}","languages_url":"https://api.github.com/repos/Johnathan/hue-light-switch/languages","stargazers_url":"https://api.github.com/repos/Johnathan/hue-light-switch/stargazers","contributors_url":"https://api.github.com/repos/Johnathan/hue-light-switch/contributors","subscribers_url":"https://api.github.com/repos/Johnathan/hue-light-switch/subscribers","subscription_url":"https://api.github.com/repos/Johnathan/hue-light-switch/subscription","commits_url":"https://api.github.com/repos/Johnathan/hue-light-switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/Johnathan/hue-light-switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/Johnathan/hue-light-switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/Johnathan/hue-light-switch/contents/{+path}","compare_url":"https://api.github.com/repos/Johnathan/hue-light-switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Johnathan/hue-light-switch/merges","archive_url":"https://api.github.com/repos/Johnathan/hue-light-switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Johnathan/hue-light-switch/downloads","issues_url":"https://api.github.com/repos/Johnathan/hue-light-switch/issues{/number}","pulls_url":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls{/number}","milestones_url":"https://api.github.com/repos/Johnathan/hue-light-switch/milestones{/number}","notifications_url":"https://api.github.com/repos/Johnathan/hue-light-switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Johnathan/hue-light-switch/labels{/name}","releases_url":"https://api.github.com/repos/Johnathan/hue-light-switch/releases{/id}","deployments_url":"https://api.github.com/repos/Johnathan/hue-light-switch/deployments","created_at":"2016-10-28T21:52:24Z","updated_at":"2016-10-29T12:13:06Z","pushed_at":"2016-10-29T12:15:58Z","git_url":"git://github.com/Johnathan/hue-light-switch.git","ssh_url":"git@github.com:Johnathan/hue-light-switch.git","clone_url":"https://github.com/Johnathan/hue-light-switch.git","svn_url":"https://github.com/Johnathan/hue-light-switch","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/Johnathan/hue-light-switch/pulls/1"},"html":{"href":"https://github.com/Johnathan/hue-light-switch/pull/1"},"issue":{"href":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/1"},"comments":{"href":"https://api.github.com/repos/Johnathan/hue-light-switch/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Johnathan/hue-light-switch/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Johnathan/hue-light-switch/statuses/dacc4f7c21c3f83090719caf1c0a736e66da5dd1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":33,"changed_files":1}}
{"actor":{"display_login":"Johnathan"}}