Eric Anderson Eric Anderson - 3 years ago 213
Javascript Question

app.js JavaScript API on Google Drive

I'm investigating Google Drive's real-time API. In the QuickStart Tutorial the JavaScript library loaded is The Drive documentation describes this library as the Google JavaScript API loader. This library seems to load the appropriate libraries for the services we need to interact with.

But when looking at QuickStart Tutorial for Google Drive (non realtime) it seems to load which I believe is the library documented here.

My question is what is the difference between api.js and client.js. They seem to have similar purpose although don't work in the same way. Is api.js for certain Google API's while client.js is for others? Is api.js documented somewhere like client.js is?

Answer Source

The content of those two files are (nearly) identical, and in fact it seems you can put any name before .js and it will load the same file. That said, I'd recommend sticking with the file names shown in the documentation, as those are guaranteed to work.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download