FG
๐Ÿ”Œ APIs & SDKsGoogle

Promise support

Freshover 11 years ago
Mar 14, 20260 views
Confidence Score87%
87%

Problem

Suggested by this tweet by @rayshan. Starting the conversation here about promise support.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
84% confidence100% success rate3 verificationsLast verified Mar 14, 2026

Solution: Promise support

Low Risk

I would rather see a promise-based API client than the authClient, or maybe both, to keep it consistent: [code block]

84

Trust Score

3 verifications

100% success
  1. 1

    I would rather see a promise-based API client than the authClient, or maybe both

    I would rather see a promise-based API client than the authClient, or maybe both, to keep it consistent:

    text
    var google = require('googleapis')
      , plus = google.plus('v1')
    
    plus.people.get({userId: 'me'})
      .then(function(profile) {
        // Do something with profile
    })

Validation

Resolved in googleapis/google-api-nodejs-client GitHub issue #197. Community reactions: 2 upvotes.

Verification Summary

Worked: 3
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

google-apioauthsdk:rotating_light:triage-me