{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/jerhinesmith/derpy/pulls/2","id":40829642,"html_url":"https://github.com/jerhinesmith/derpy/pull/2","diff_url":"https://github.com/jerhinesmith/derpy/pull/2.diff","patch_url":"https://github.com/jerhinesmith/derpy/pull/2.patch","issue_url":"https://api.github.com/repos/jerhinesmith/derpy/issues/2","number":2,"state":"open","locked":false,"title":"Add /r/:name endpoint to cjhbot","user":{"login":"mwerner","id":50568,"avatar_url":"https://avatars.githubusercontent.com/u/50568?v=3","gravatar_id":"","url":"https://api.github.com/users/mwerner","html_url":"https://github.com/mwerner","followers_url":"https://api.github.com/users/mwerner/followers","following_url":"https://api.github.com/users/mwerner/following{/other_user}","gists_url":"https://api.github.com/users/mwerner/gists{/gist_id}","starred_url":"https://api.github.com/users/mwerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwerner/subscriptions","organizations_url":"https://api.github.com/users/mwerner/orgs","repos_url":"https://api.github.com/users/mwerner/repos","events_url":"https://api.github.com/users/mwerner/events{/privacy}","received_events_url":"https://api.github.com/users/mwerner/received_events","type":"User","site_admin":false},"body":"Haven't added an endpoint yet and don't know how to test. Took a stab at it, no idea if this is right.\r\n\r\nBasically want to be able to type /r/videos and have cjhbot respond with\r\n\r\n    videos: https://www.reddit.com/r/videos\r\n\r\n![golden-retriever](https://cloud.githubusercontent.com/assets/50568/8887538/a6188dfa-323b-11e5-8766-24e7531b7222.jpg)\r\n","created_at":"2015-07-25T02:40:18Z","updated_at":"2015-07-25T02:40:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jerhinesmith/derpy/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jerhinesmith/derpy/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jerhinesmith/derpy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jerhinesmith/derpy/issues/2/comments","statuses_url":"https://api.github.com/repos/jerhinesmith/derpy/statuses/5a904d8e33c561c690ffecbfafab50743661853f","head":{"label":"jerhinesmith:subreddit-integration","ref":"subreddit-integration","sha":"5a904d8e33c561c690ffecbfafab50743661853f","user":{"login":"jerhinesmith","id":153623,"avatar_url":"https://avatars.githubusercontent.com/u/153623?v=3","gravatar_id":"","url":"https://api.github.com/users/jerhinesmith","html_url":"https://github.com/jerhinesmith","followers_url":"https://api.github.com/users/jerhinesmith/followers","following_url":"https://api.github.com/users/jerhinesmith/following{/other_user}","gists_url":"https://api.github.com/users/jerhinesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jerhinesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerhinesmith/subscriptions","organizations_url":"https://api.github.com/users/jerhinesmith/orgs","repos_url":"https://api.github.com/users/jerhinesmith/repos","events_url":"https://api.github.com/users/jerhinesmith/events{/privacy}","received_events_url":"https://api.github.com/users/jerhinesmith/received_events","type":"User","site_admin":false},"repo":{"id":25376966,"name":"derpy","full_name":"jerhinesmith/derpy","owner":{"login":"jerhinesmith","id":153623,"avatar_url":"https://avatars.githubusercontent.com/u/153623?v=3","gravatar_id":"","url":"https://api.github.com/users/jerhinesmith","html_url":"https://github.com/jerhinesmith","followers_url":"https://api.github.com/users/jerhinesmith/followers","following_url":"https://api.github.com/users/jerhinesmith/following{/other_user}","gists_url":"https://api.github.com/users/jerhinesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jerhinesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerhinesmith/subscriptions","organizations_url":"https://api.github.com/users/jerhinesmith/orgs","repos_url":"https://api.github.com/users/jerhinesmith/repos","events_url":"https://api.github.com/users/jerhinesmith/events{/privacy}","received_events_url":"https://api.github.com/users/jerhinesmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jerhinesmith/derpy","description":"Slack Bot","fork":false,"url":"https://api.github.com/repos/jerhinesmith/derpy","forks_url":"https://api.github.com/repos/jerhinesmith/derpy/forks","keys_url":"https://api.github.com/repos/jerhinesmith/derpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jerhinesmith/derpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jerhinesmith/derpy/teams","hooks_url":"https://api.github.com/repos/jerhinesmith/derpy/hooks","issue_events_url":"https://api.github.com/repos/jerhinesmith/derpy/issues/events{/number}","events_url":"https://api.github.com/repos/jerhinesmith/derpy/events","assignees_url":"https://api.github.com/repos/jerhinesmith/derpy/assignees{/user}","branches_url":"https://api.github.com/repos/jerhinesmith/derpy/branches{/branch}","tags_url":"https://api.github.com/repos/jerhinesmith/derpy/tags","blobs_url":"https://api.github.com/repos/jerhinesmith/derpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jerhinesmith/derpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jerhinesmith/derpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jerhinesmith/derpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jerhinesmith/derpy/statuses/{sha}","languages_url":"https://api.github.com/repos/jerhinesmith/derpy/languages","stargazers_url":"https://api.github.com/repos/jerhinesmith/derpy/stargazers","contributors_url":"https://api.github.com/repos/jerhinesmith/derpy/contributors","subscribers_url":"https://api.github.com/repos/jerhinesmith/derpy/subscribers","subscription_url":"https://api.github.com/repos/jerhinesmith/derpy/subscription","commits_url":"https://api.github.com/repos/jerhinesmith/derpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jerhinesmith/derpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jerhinesmith/derpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jerhinesmith/derpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jerhinesmith/derpy/contents/{+path}","compare_url":"https://api.github.com/repos/jerhinesmith/derpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jerhinesmith/derpy/merges","archive_url":"https://api.github.com/repos/jerhinesmith/derpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jerhinesmith/derpy/downloads","issues_url":"https://api.github.com/repos/jerhinesmith/derpy/issues{/number}","pulls_url":"https://api.github.com/repos/jerhinesmith/derpy/pulls{/number}","milestones_url":"https://api.github.com/repos/jerhinesmith/derpy/milestones{/number}","notifications_url":"https://api.github.com/repos/jerhinesmith/derpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jerhinesmith/derpy/labels{/name}","releases_url":"https://api.github.com/repos/jerhinesmith/derpy/releases{/id}","created_at":"2014-10-17T21:00:16Z","updated_at":"2015-03-26T21:38:26Z","pushed_at":"2015-07-25T02:40:18Z","git_url":"git://github.com/jerhinesmith/derpy.git","ssh_url":"git@github.com:jerhinesmith/derpy.git","clone_url":"https://github.com/jerhinesmith/derpy.git","svn_url":"https://github.com/jerhinesmith/derpy","homepage":null,"size":264,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"jerhinesmith:master","ref":"master","sha":"8918ab57980387b1c821772f6d47b7cd846c5d90","user":{"login":"jerhinesmith","id":153623,"avatar_url":"https://avatars.githubusercontent.com/u/153623?v=3","gravatar_id":"","url":"https://api.github.com/users/jerhinesmith","html_url":"https://github.com/jerhinesmith","followers_url":"https://api.github.com/users/jerhinesmith/followers","following_url":"https://api.github.com/users/jerhinesmith/following{/other_user}","gists_url":"https://api.github.com/users/jerhinesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jerhinesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerhinesmith/subscriptions","organizations_url":"https://api.github.com/users/jerhinesmith/orgs","repos_url":"https://api.github.com/users/jerhinesmith/repos","events_url":"https://api.github.com/users/jerhinesmith/events{/privacy}","received_events_url":"https://api.github.com/users/jerhinesmith/received_events","type":"User","site_admin":false},"repo":{"id":25376966,"name":"derpy","full_name":"jerhinesmith/derpy","owner":{"login":"jerhinesmith","id":153623,"avatar_url":"https://avatars.githubusercontent.com/u/153623?v=3","gravatar_id":"","url":"https://api.github.com/users/jerhinesmith","html_url":"https://github.com/jerhinesmith","followers_url":"https://api.github.com/users/jerhinesmith/followers","following_url":"https://api.github.com/users/jerhinesmith/following{/other_user}","gists_url":"https://api.github.com/users/jerhinesmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jerhinesmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerhinesmith/subscriptions","organizations_url":"https://api.github.com/users/jerhinesmith/orgs","repos_url":"https://api.github.com/users/jerhinesmith/repos","events_url":"https://api.github.com/users/jerhinesmith/events{/privacy}","received_events_url":"https://api.github.com/users/jerhinesmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jerhinesmith/derpy","description":"Slack Bot","fork":false,"url":"https://api.github.com/repos/jerhinesmith/derpy","forks_url":"https://api.github.com/repos/jerhinesmith/derpy/forks","keys_url":"https://api.github.com/repos/jerhinesmith/derpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jerhinesmith/derpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jerhinesmith/derpy/teams","hooks_url":"https://api.github.com/repos/jerhinesmith/derpy/hooks","issue_events_url":"https://api.github.com/repos/jerhinesmith/derpy/issues/events{/number}","events_url":"https://api.github.com/repos/jerhinesmith/derpy/events","assignees_url":"https://api.github.com/repos/jerhinesmith/derpy/assignees{/user}","branches_url":"https://api.github.com/repos/jerhinesmith/derpy/branches{/branch}","tags_url":"https://api.github.com/repos/jerhinesmith/derpy/tags","blobs_url":"https://api.github.com/repos/jerhinesmith/derpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jerhinesmith/derpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jerhinesmith/derpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jerhinesmith/derpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jerhinesmith/derpy/statuses/{sha}","languages_url":"https://api.github.com/repos/jerhinesmith/derpy/languages","stargazers_url":"https://api.github.com/repos/jerhinesmith/derpy/stargazers","contributors_url":"https://api.github.com/repos/jerhinesmith/derpy/contributors","subscribers_url":"https://api.github.com/repos/jerhinesmith/derpy/subscribers","subscription_url":"https://api.github.com/repos/jerhinesmith/derpy/subscription","commits_url":"https://api.github.com/repos/jerhinesmith/derpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jerhinesmith/derpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jerhinesmith/derpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jerhinesmith/derpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jerhinesmith/derpy/contents/{+path}","compare_url":"https://api.github.com/repos/jerhinesmith/derpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jerhinesmith/derpy/merges","archive_url":"https://api.github.com/repos/jerhinesmith/derpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jerhinesmith/derpy/downloads","issues_url":"https://api.github.com/repos/jerhinesmith/derpy/issues{/number}","pulls_url":"https://api.github.com/repos/jerhinesmith/derpy/pulls{/number}","milestones_url":"https://api.github.com/repos/jerhinesmith/derpy/milestones{/number}","notifications_url":"https://api.github.com/repos/jerhinesmith/derpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jerhinesmith/derpy/labels{/name}","releases_url":"https://api.github.com/repos/jerhinesmith/derpy/releases{/id}","created_at":"2014-10-17T21:00:16Z","updated_at":"2015-03-26T21:38:26Z","pushed_at":"2015-07-25T02:40:18Z","git_url":"git://github.com/jerhinesmith/derpy.git","ssh_url":"git@github.com:jerhinesmith/derpy.git","clone_url":"https://github.com/jerhinesmith/derpy.git","svn_url":"https://github.com/jerhinesmith/derpy","homepage":null,"size":264,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jerhinesmith/derpy/pulls/2"},"html":{"href":"https://github.com/jerhinesmith/derpy/pull/2"},"issue":{"href":"https://api.github.com/repos/jerhinesmith/derpy/issues/2"},"comments":{"href":"https://api.github.com/repos/jerhinesmith/derpy/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jerhinesmith/derpy/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jerhinesmith/derpy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jerhinesmith/derpy/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jerhinesmith/derpy/statuses/5a904d8e33c561c690ffecbfafab50743661853f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":0,"changed_files":1}}