{"action":"closed","number":46,"pull_request":{"url":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/46","id":46169285,"html_url":"https://github.com/andreareginato/simple-oauth2/pull/46","diff_url":"https://github.com/andreareginato/simple-oauth2/pull/46.diff","patch_url":"https://github.com/andreareginato/simple-oauth2/pull/46.patch","issue_url":"https://api.github.com/repos/andreareginato/simple-oauth2/issues/46","number":46,"state":"closed","locked":false,"title":"Provide a Promise based API","user":{"login":"jonathansamines","id":1268268,"avatar_url":"https://avatars.githubusercontent.com/u/1268268?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathansamines","html_url":"https://github.com/jonathansamines","followers_url":"https://api.github.com/users/jonathansamines/followers","following_url":"https://api.github.com/users/jonathansamines/following{/other_user}","gists_url":"https://api.github.com/users/jonathansamines/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathansamines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathansamines/subscriptions","organizations_url":"https://api.github.com/users/jonathansamines/orgs","repos_url":"https://api.github.com/users/jonathansamines/repos","events_url":"https://api.github.com/users/jonathansamines/events{/privacy}","received_events_url":"https://api.github.com/users/jonathansamines/received_events","type":"User","site_admin":false},"body":"Have you considered providing an Promise based API? that would be useful for people who is working with async programming through promises.  Here is a pull request providing this dual api.","created_at":"2015-09-28T15:16:17Z","updated_at":"2015-10-09T02:13:41Z","closed_at":"2015-10-09T02:13:41Z","merged_at":"2015-10-09T02:13:41Z","merge_commit_sha":"a4ee3518df2c45fd6e9fcb8c9a15107c84aaf3f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/46/commits","review_comments_url":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/46/comments","review_comment_url":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andreareginato/simple-oauth2/issues/46/comments","statuses_url":"https://api.github.com/repos/andreareginato/simple-oauth2/statuses/78f976ea5709aec29a2aa2959997e8a03b4995b0","head":{"label":"jonathansamines:feature/promisify","ref":"feature/promisify","sha":"78f976ea5709aec29a2aa2959997e8a03b4995b0","user":{"login":"jonathansamines","id":1268268,"avatar_url":"https://avatars.githubusercontent.com/u/1268268?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathansamines","html_url":"https://github.com/jonathansamines","followers_url":"https://api.github.com/users/jonathansamines/followers","following_url":"https://api.github.com/users/jonathansamines/following{/other_user}","gists_url":"https://api.github.com/users/jonathansamines/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathansamines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathansamines/subscriptions","organizations_url":"https://api.github.com/users/jonathansamines/orgs","repos_url":"https://api.github.com/users/jonathansamines/repos","events_url":"https://api.github.com/users/jonathansamines/events{/privacy}","received_events_url":"https://api.github.com/users/jonathansamines/received_events","type":"User","site_admin":false},"repo":{"id":43168628,"name":"simple-oauth2","full_name":"jonathansamines/simple-oauth2","owner":{"login":"jonathansamines","id":1268268,"avatar_url":"https://avatars.githubusercontent.com/u/1268268?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathansamines","html_url":"https://github.com/jonathansamines","followers_url":"https://api.github.com/users/jonathansamines/followers","following_url":"https://api.github.com/users/jonathansamines/following{/other_user}","gists_url":"https://api.github.com/users/jonathansamines/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathansamines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathansamines/subscriptions","organizations_url":"https://api.github.com/users/jonathansamines/orgs","repos_url":"https://api.github.com/users/jonathansamines/repos","events_url":"https://api.github.com/users/jonathansamines/events{/privacy}","received_events_url":"https://api.github.com/users/jonathansamines/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonathansamines/simple-oauth2","description":"A simple Node.js client library for Oauth2","fork":true,"url":"https://api.github.com/repos/jonathansamines/simple-oauth2","forks_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/forks","keys_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/teams","hooks_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/hooks","issue_events_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/events","assignees_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/tags","blobs_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/languages","stargazers_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/stargazers","contributors_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/contributors","subscribers_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/subscribers","subscription_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/subscription","commits_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/merges","archive_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/downloads","issues_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/labels{/name}","releases_url":"https://api.github.com/repos/jonathansamines/simple-oauth2/releases{/id}","created_at":"2015-09-25T18:35:55Z","updated_at":"2015-10-08T22:17:10Z","pushed_at":"2015-10-08T23:12:44Z","git_url":"git://github.com/jonathansamines/simple-oauth2.git","ssh_url":"git@github.com:jonathansamines/simple-oauth2.git","clone_url":"https://github.com/jonathansamines/simple-oauth2.git","svn_url":"https://github.com/jonathansamines/simple-oauth2","homepage":"http://andreareginato.github.com/simple-oauth2/","size":529,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"feature/promisify"}},"base":{"label":"andreareginato:master","ref":"master","sha":"01f44fba7e80ec9fca368785dbfa9d181dfe1c1a","user":{"login":"andreareginato","id":37480,"avatar_url":"https://avatars.githubusercontent.com/u/37480?v=3","gravatar_id":"","url":"https://api.github.com/users/andreareginato","html_url":"https://github.com/andreareginato","followers_url":"https://api.github.com/users/andreareginato/followers","following_url":"https://api.github.com/users/andreareginato/following{/other_user}","gists_url":"https://api.github.com/users/andreareginato/gists{/gist_id}","starred_url":"https://api.github.com/users/andreareginato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreareginato/subscriptions","organizations_url":"https://api.github.com/users/andreareginato/orgs","repos_url":"https://api.github.com/users/andreareginato/repos","events_url":"https://api.github.com/users/andreareginato/events{/privacy}","received_events_url":"https://api.github.com/users/andreareginato/received_events","type":"User","site_admin":false},"repo":{"id":7737247,"name":"simple-oauth2","full_name":"andreareginato/simple-oauth2","owner":{"login":"andreareginato","id":37480,"avatar_url":"https://avatars.githubusercontent.com/u/37480?v=3","gravatar_id":"","url":"https://api.github.com/users/andreareginato","html_url":"https://github.com/andreareginato","followers_url":"https://api.github.com/users/andreareginato/followers","following_url":"https://api.github.com/users/andreareginato/following{/other_user}","gists_url":"https://api.github.com/users/andreareginato/gists{/gist_id}","starred_url":"https://api.github.com/users/andreareginato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreareginato/subscriptions","organizations_url":"https://api.github.com/users/andreareginato/orgs","repos_url":"https://api.github.com/users/andreareginato/repos","events_url":"https://api.github.com/users/andreareginato/events{/privacy}","received_events_url":"https://api.github.com/users/andreareginato/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreareginato/simple-oauth2","description":"A simple Node.js client library for Oauth2","fork":false,"url":"https://api.github.com/repos/andreareginato/simple-oauth2","forks_url":"https://api.github.com/repos/andreareginato/simple-oauth2/forks","keys_url":"https://api.github.com/repos/andreareginato/simple-oauth2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreareginato/simple-oauth2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreareginato/simple-oauth2/teams","hooks_url":"https://api.github.com/repos/andreareginato/simple-oauth2/hooks","issue_events_url":"https://api.github.com/repos/andreareginato/simple-oauth2/issues/events{/number}","events_url":"https://api.github.com/repos/andreareginato/simple-oauth2/events","assignees_url":"https://api.github.com/repos/andreareginato/simple-oauth2/assignees{/user}","branches_url":"https://api.github.com/repos/andreareginato/simple-oauth2/branches{/branch}","tags_url":"https://api.github.com/repos/andreareginato/simple-oauth2/tags","blobs_url":"https://api.github.com/repos/andreareginato/simple-oauth2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreareginato/simple-oauth2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreareginato/simple-oauth2/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreareginato/simple-oauth2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreareginato/simple-oauth2/statuses/{sha}","languages_url":"https://api.github.com/repos/andreareginato/simple-oauth2/languages","stargazers_url":"https://api.github.com/repos/andreareginato/simple-oauth2/stargazers","contributors_url":"https://api.github.com/repos/andreareginato/simple-oauth2/contributors","subscribers_url":"https://api.github.com/repos/andreareginato/simple-oauth2/subscribers","subscription_url":"https://api.github.com/repos/andreareginato/simple-oauth2/subscription","commits_url":"https://api.github.com/repos/andreareginato/simple-oauth2/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreareginato/simple-oauth2/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreareginato/simple-oauth2/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreareginato/simple-oauth2/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreareginato/simple-oauth2/contents/{+path}","compare_url":"https://api.github.com/repos/andreareginato/simple-oauth2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreareginato/simple-oauth2/merges","archive_url":"https://api.github.com/repos/andreareginato/simple-oauth2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreareginato/simple-oauth2/downloads","issues_url":"https://api.github.com/repos/andreareginato/simple-oauth2/issues{/number}","pulls_url":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls{/number}","milestones_url":"https://api.github.com/repos/andreareginato/simple-oauth2/milestones{/number}","notifications_url":"https://api.github.com/repos/andreareginato/simple-oauth2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreareginato/simple-oauth2/labels{/name}","releases_url":"https://api.github.com/repos/andreareginato/simple-oauth2/releases{/id}","created_at":"2013-01-21T17:53:23Z","updated_at":"2015-10-08T15:50:34Z","pushed_at":"2015-10-09T02:13:41Z","git_url":"git://github.com/andreareginato/simple-oauth2.git","ssh_url":"git@github.com:andreareginato/simple-oauth2.git","clone_url":"https://github.com/andreareginato/simple-oauth2.git","svn_url":"https://github.com/andreareginato/simple-oauth2","homepage":"http://andreareginato.github.com/simple-oauth2/","size":890,"stargazers_count":126,"watchers_count":126,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":52,"mirror_url":null,"open_issues_count":13,"forks":52,"open_issues":13,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/46"},"html":{"href":"https://github.com/andreareginato/simple-oauth2/pull/46"},"issue":{"href":"https://api.github.com/repos/andreareginato/simple-oauth2/issues/46"},"comments":{"href":"https://api.github.com/repos/andreareginato/simple-oauth2/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andreareginato/simple-oauth2/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/andreareginato/simple-oauth2/statuses/78f976ea5709aec29a2aa2959997e8a03b4995b0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jonathansamines","id":1268268,"avatar_url":"https://avatars.githubusercontent.com/u/1268268?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathansamines","html_url":"https://github.com/jonathansamines","followers_url":"https://api.github.com/users/jonathansamines/followers","following_url":"https://api.github.com/users/jonathansamines/following{/other_user}","gists_url":"https://api.github.com/users/jonathansamines/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathansamines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathansamines/subscriptions","organizations_url":"https://api.github.com/users/jonathansamines/orgs","repos_url":"https://api.github.com/users/jonathansamines/repos","events_url":"https://api.github.com/users/jonathansamines/events{/privacy}","received_events_url":"https://api.github.com/users/jonathansamines/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":6,"additions":285,"deletions":94,"changed_files":13}}