This is a function to authorize the R package to access the Googleslides API. If no client_id and client_secret is provided, the package would provide predefined values in the package.
Do take note that you should not be using the predefined values when using this package in proper applications but to define your own client_id and client_secrets from Google Console.
1 2 |
client_id |
OAuth client ID. This is obtained from Google API Credentials |
client_secret |
OAuth client secret. This is obtained from Google API Credentials |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.