Google APIS

User Auth

On the Backend

Setup

  1. Go to https://console.developers.google.com/

  2. Create/Select a Project

  3. In Credientals tab, create an OAuth

  4. Add localhost:<port> and localhost to get it to work

Usage

Get the id_token, request the scopes profile and email

Then you can get profile info at https://www.googleapis.com/oauth2/v1/userinfo?alt=json&access_token=[accesstoken]

API Auth

Can download their file and do some gcloud command to get token

Or can create API KEY then attach to urls with ?key=[APIKEY]

Speech to Text

Credientials determined automatically if you set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the file path of the Google JSON file

Image to Object Labels

https://cloud.google.com/vision/docs/features-list

Text to Speech

Last updated