Skip to contents

Launch the Google Cloud "Credentials" page (where you can configure OAuth 2.0 Clients). After you configure a client, copy/paste the Client ID and Client Secret into the YOUTUBE_CLIENT_ID and YOUTUBE_CLIENT_SECRET environment variables. We recommend placing these environment variables in your .Renviron file.

Usage

browse_gc_credentials()

Value

The url of the "Credentials" page, invisibly.

Examples

gc_credentials_url <- browse_gc_credentials()
# Copy/paste values from your client.
Sys.setenv(YOUTUBE_CLIENT_ID = "12345-ab12c.apps.googleusercontent.com")
Sys.setenv(YOUTUBE_CLIENT_SECRET = "ABCD-eFg_H")