This library allows you to authenticate easily via local use in an OAuth2 flow; within a Shiny app; or via service accounts.
This takes care of getting the authentication token, storing it and refreshing. Use it before any call to a Google library.
Auto-build libraries for Google APIs with OAuth2 for both local and Shiny app use.
Get more details at the googleAuthR website
Here is a list of available Google APIs to make with this library. The below libraries are all cross-compatible as they use
googleAuthR for authentication backend e.g. can use just one OAuth2 login flow and can be used in multi-user Shiny apps.
Feel free to add your own via email or a pull request if you have used googleAuthR to build something cool.
googleAuthR now has an R package generator which makes R package skeletons you can use to build your own Google API R package upon. Browse through the 154 options at this Github repository.