This site has been updated.
Reload to display the latest version?
(click here)

Tag:  gapi

Google Drive API - Script initialization

06 July, 2020
The basic example from the official documentation is very informative (this is not a sarcasm). I just want to add my 2 cents in order to make it more es6 like, then it is now. Plus I want one function of initialization that will take care of everything. I want to be able to run it from anywhere in the code and be sure that app will be authorized. First I need to load the script. I want to do it dynamically from the code and not to attach it to the index.html Also this method could be called…