{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/non/bothub.org/pulls/4","id":28179140,"html_url":"https://github.com/non/bothub.org/pull/4","diff_url":"https://github.com/non/bothub.org/pull/4.diff","patch_url":"https://github.com/non/bothub.org/pull/4.patch","issue_url":"https://api.github.com/repos/non/bothub.org/issues/4","number":4,"state":"closed","locked":false,"title":"Utils to authenticate an account with an app","user":{"login":"hugovk","id":1324225,"avatar_url":"https://avatars.githubusercontent.com/u/1324225?v=3","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"body":"Let's say you create an app on your own personal Twitter account, but you have another account for the bot to tweet from. These are Pytohn and Ruby utilities to help do the authentication.\r\n\r\nI put them in a new section -- bot utils -- but perhaps they should go under an existing section.","created_at":"2015-01-28T09:34:32Z","updated_at":"2015-01-28T18:30:09Z","closed_at":"2015-01-28T18:30:09Z","merged_at":"2015-01-28T18:30:08Z","merge_commit_sha":"c6089b1e7722e4873009d181b8cb2a816e693d23","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/non/bothub.org/pulls/4/commits","review_comments_url":"https://api.github.com/repos/non/bothub.org/pulls/4/comments","review_comment_url":"https://api.github.com/repos/non/bothub.org/pulls/comments/{number}","comments_url":"https://api.github.com/repos/non/bothub.org/issues/4/comments","statuses_url":"https://api.github.com/repos/non/bothub.org/statuses/810d830ff191f116b0fcce3da27113c8090b83ce","head":{"label":"hugovk:patch-2","ref":"patch-2","sha":"810d830ff191f116b0fcce3da27113c8090b83ce","user":{"login":"hugovk","id":1324225,"avatar_url":"https://avatars.githubusercontent.com/u/1324225?v=3","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"repo":{"id":29959392,"name":"bothub.org","full_name":"hugovk/bothub.org","owner":{"login":"hugovk","id":1324225,"avatar_url":"https://avatars.githubusercontent.com/u/1324225?v=3","gravatar_id":"","url":"https://api.github.com/users/hugovk","html_url":"https://github.com/hugovk","followers_url":"https://api.github.com/users/hugovk/followers","following_url":"https://api.github.com/users/hugovk/following{/other_user}","gists_url":"https://api.github.com/users/hugovk/gists{/gist_id}","starred_url":"https://api.github.com/users/hugovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugovk/subscriptions","organizations_url":"https://api.github.com/users/hugovk/orgs","repos_url":"https://api.github.com/users/hugovk/repos","events_url":"https://api.github.com/users/hugovk/events{/privacy}","received_events_url":"https://api.github.com/users/hugovk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hugovk/bothub.org","description":"repo for the website bothub.org","fork":true,"url":"https://api.github.com/repos/hugovk/bothub.org","forks_url":"https://api.github.com/repos/hugovk/bothub.org/forks","keys_url":"https://api.github.com/repos/hugovk/bothub.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hugovk/bothub.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hugovk/bothub.org/teams","hooks_url":"https://api.github.com/repos/hugovk/bothub.org/hooks","issue_events_url":"https://api.github.com/repos/hugovk/bothub.org/issues/events{/number}","events_url":"https://api.github.com/repos/hugovk/bothub.org/events","assignees_url":"https://api.github.com/repos/hugovk/bothub.org/assignees{/user}","branches_url":"https://api.github.com/repos/hugovk/bothub.org/branches{/branch}","tags_url":"https://api.github.com/repos/hugovk/bothub.org/tags","blobs_url":"https://api.github.com/repos/hugovk/bothub.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hugovk/bothub.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hugovk/bothub.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/hugovk/bothub.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hugovk/bothub.org/statuses/{sha}","languages_url":"https://api.github.com/repos/hugovk/bothub.org/languages","stargazers_url":"https://api.github.com/repos/hugovk/bothub.org/stargazers","contributors_url":"https://api.github.com/repos/hugovk/bothub.org/contributors","subscribers_url":"https://api.github.com/repos/hugovk/bothub.org/subscribers","subscription_url":"https://api.github.com/repos/hugovk/bothub.org/subscription","commits_url":"https://api.github.com/repos/hugovk/bothub.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/hugovk/bothub.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/hugovk/bothub.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/hugovk/bothub.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/hugovk/bothub.org/contents/{+path}","compare_url":"https://api.github.com/repos/hugovk/bothub.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hugovk/bothub.org/merges","archive_url":"https://api.github.com/repos/hugovk/bothub.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hugovk/bothub.org/downloads","issues_url":"https://api.github.com/repos/hugovk/bothub.org/issues{/number}","pulls_url":"https://api.github.com/repos/hugovk/bothub.org/pulls{/number}","milestones_url":"https://api.github.com/repos/hugovk/bothub.org/milestones{/number}","notifications_url":"https://api.github.com/repos/hugovk/bothub.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hugovk/bothub.org/labels{/name}","releases_url":"https://api.github.com/repos/hugovk/bothub.org/releases{/id}","created_at":"2015-01-28T09:15:47Z","updated_at":"2015-01-28T17:35:33Z","pushed_at":"2015-01-28T17:38:42Z","git_url":"git://github.com/hugovk/bothub.org.git","ssh_url":"git@github.com:hugovk/bothub.org.git","clone_url":"https://github.com/hugovk/bothub.org.git","svn_url":"https://github.com/hugovk/bothub.org","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"non:master","ref":"master","sha":"67f66917d751fb21988a6170df956122c12cd25b","user":{"login":"non","id":218045,"avatar_url":"https://avatars.githubusercontent.com/u/218045?v=3","gravatar_id":"","url":"https://api.github.com/users/non","html_url":"https://github.com/non","followers_url":"https://api.github.com/users/non/followers","following_url":"https://api.github.com/users/non/following{/other_user}","gists_url":"https://api.github.com/users/non/gists{/gist_id}","starred_url":"https://api.github.com/users/non/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/non/subscriptions","organizations_url":"https://api.github.com/users/non/orgs","repos_url":"https://api.github.com/users/non/repos","events_url":"https://api.github.com/users/non/events{/privacy}","received_events_url":"https://api.github.com/users/non/received_events","type":"User","site_admin":false},"repo":{"id":29875755,"name":"bothub.org","full_name":"non/bothub.org","owner":{"login":"non","id":218045,"avatar_url":"https://avatars.githubusercontent.com/u/218045?v=3","gravatar_id":"","url":"https://api.github.com/users/non","html_url":"https://github.com/non","followers_url":"https://api.github.com/users/non/followers","following_url":"https://api.github.com/users/non/following{/other_user}","gists_url":"https://api.github.com/users/non/gists{/gist_id}","starred_url":"https://api.github.com/users/non/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/non/subscriptions","organizations_url":"https://api.github.com/users/non/orgs","repos_url":"https://api.github.com/users/non/repos","events_url":"https://api.github.com/users/non/events{/privacy}","received_events_url":"https://api.github.com/users/non/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/non/bothub.org","description":"repo for the website bothub.org","fork":false,"url":"https://api.github.com/repos/non/bothub.org","forks_url":"https://api.github.com/repos/non/bothub.org/forks","keys_url":"https://api.github.com/repos/non/bothub.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/non/bothub.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/non/bothub.org/teams","hooks_url":"https://api.github.com/repos/non/bothub.org/hooks","issue_events_url":"https://api.github.com/repos/non/bothub.org/issues/events{/number}","events_url":"https://api.github.com/repos/non/bothub.org/events","assignees_url":"https://api.github.com/repos/non/bothub.org/assignees{/user}","branches_url":"https://api.github.com/repos/non/bothub.org/branches{/branch}","tags_url":"https://api.github.com/repos/non/bothub.org/tags","blobs_url":"https://api.github.com/repos/non/bothub.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/non/bothub.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/non/bothub.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/non/bothub.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/non/bothub.org/statuses/{sha}","languages_url":"https://api.github.com/repos/non/bothub.org/languages","stargazers_url":"https://api.github.com/repos/non/bothub.org/stargazers","contributors_url":"https://api.github.com/repos/non/bothub.org/contributors","subscribers_url":"https://api.github.com/repos/non/bothub.org/subscribers","subscription_url":"https://api.github.com/repos/non/bothub.org/subscription","commits_url":"https://api.github.com/repos/non/bothub.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/non/bothub.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/non/bothub.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/non/bothub.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/non/bothub.org/contents/{+path}","compare_url":"https://api.github.com/repos/non/bothub.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/non/bothub.org/merges","archive_url":"https://api.github.com/repos/non/bothub.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/non/bothub.org/downloads","issues_url":"https://api.github.com/repos/non/bothub.org/issues{/number}","pulls_url":"https://api.github.com/repos/non/bothub.org/pulls{/number}","milestones_url":"https://api.github.com/repos/non/bothub.org/milestones{/number}","notifications_url":"https://api.github.com/repos/non/bothub.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/non/bothub.org/labels{/name}","releases_url":"https://api.github.com/repos/non/bothub.org/releases{/id}","created_at":"2015-01-26T18:44:32Z","updated_at":"2015-01-28T18:30:09Z","pushed_at":"2015-01-28T18:30:09Z","git_url":"git://github.com/non/bothub.org.git","ssh_url":"git@github.com:non/bothub.org.git","clone_url":"https://github.com/non/bothub.org.git","svn_url":"https://github.com/non/bothub.org","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/non/bothub.org/pulls/4"},"html":{"href":"https://github.com/non/bothub.org/pull/4"},"issue":{"href":"https://api.github.com/repos/non/bothub.org/issues/4"},"comments":{"href":"https://api.github.com/repos/non/bothub.org/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/non/bothub.org/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/non/bothub.org/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/non/bothub.org/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/non/bothub.org/statuses/810d830ff191f116b0fcce3da27113c8090b83ce"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"non","id":218045,"avatar_url":"https://avatars.githubusercontent.com/u/218045?v=3","gravatar_id":"","url":"https://api.github.com/users/non","html_url":"https://github.com/non","followers_url":"https://api.github.com/users/non/followers","following_url":"https://api.github.com/users/non/following{/other_user}","gists_url":"https://api.github.com/users/non/gists{/gist_id}","starred_url":"https://api.github.com/users/non/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/non/subscriptions","organizations_url":"https://api.github.com/users/non/orgs","repos_url":"https://api.github.com/users/non/repos","events_url":"https://api.github.com/users/non/events{/privacy}","received_events_url":"https://api.github.com/users/non/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":4,"deletions":2,"changed_files":1}}