1
votes

Google apps script provides the ScriptApp.getOAuthToken() API to get the OAuth 2.0 access token for the effective user. The API document says that the token can be used for Google APIs that requires OAuth like Google Picker.

However, apart from Google Picker (e.g. in this example), I haven't found any other APIs that require this OAuth token. Anyone can help me find such APIs? Thank you.

2

2 Answers

0
votes

Almost all Google APIs can be accessed with the OAuthToken provided you have authorized such scopes. You can find a list of APIs here

0
votes

To navigate to the API library from the code editor, do the following:

  • Open the Apps Script code editor
  • Click the Resources menu and the "Cloud platform project" menu item
  • Click the blue link
  • Open the Nav menu
  • Choose "APIs & Services" and Library

API Library