Pre Development Create project get project no:(to be set in Appscript Settings) create web client Get Client_ID(used in js, PHP and android app) and Client Secret(used in PHP ie backend app only) from Web client Add required scopes For JS ,get API key(used in javascript while intitializing gapi client (gapi.client.init). For Backend(PHP), Set Redirect URLs(…
Month: November 2024
Get Google API Dependecy scripts PHP API Client gives an avenue to use Google Services. Download them with composer composer require google/apiclient:^2.15.0 Set up Front End Front end should have 2 components Login Screen Operations page Set up Backend Backend should handle following Show Login Button. Get tokens JSON with auth code. Refresh token on…
Understand the whole communication process Before using any API, you should understand the whole behind the scene activities done to effect the communication. This is explained in a brief way here Two parts for calling Google App Scripts with API Regardless of which language API you want to use, running Google App Scripts with API…