title: platform.js or api.js? google api
body: <p>Trying to understand how I should go about referencing the google apis for a static page web app. I am confused.</p>
  <ol>
  <li>I am unsure where the complete documentation is as I have stumbled upon a few broken links in this repository already</li>
  <li>These tutorial reference 2 different urls yet seem to be related to this <a href="https://github.com/google/google-api-javascript-client" rel="nofollow noreferrer">repository</a></li>
  </ol>
  <p><a href="https://developers.google.com/identity/sign-in/web/reference#gapiauth2initparams" rel="nofollow noreferrer">https://developers.google.com/identity/sign-in/web/reference#gapiauth2initparams</a></p>
  <pre class="lang-html prettyprint-override"><code>&lt;script src=&quot;https://apis.google.com/js/platform.js?onload=init&quot; async defer&gt;&lt;/script&gt;
  </code></pre>
  <p><a href="https://developers.google.com/sheets/api/quickstart/js" rel="nofollow noreferrer">https://developers.google.com/sheets/api/quickstart/js</a></p>
  <pre class="lang-html prettyprint-override"><code>&lt;script async defer src=&quot;https://apis.google.com/js/api.js&quot;
        onload=&quot;this.onload=function(){};handleClientLoad()&quot;
        onreadystatechange=&quot;if (this.readyState === 'complete') this.onload()&quot;&gt;
  </code></pre>
  <p>What are the differences? what url should one use? does it matter?
  Should one rather use the node client rather than web and compile it?</p>