Richard Shepherd
Richard Shepherd

Reputation: 1310

Is there a simple javascript API for Google Drive?

The Google Drive API looks more complicated to me than I would like, with all the stuff about authorization, client-ids, scopes, boundaries, delimiters and so on.

If I have javascript code in a browser, and I am logged into my Google account, I was more hoping for a simpler API something like:

google.drive.saveFile(path, contents, statusCallback);
google.drive.loadFile(path, onLoadCallback);

I guess there could be some extra parameters depending on the type of data being stored (e.g. string, binary), but something along these lines.

Is there a Javascript wrapper for Google Drive that provides something simple like this?

Upvotes: 0

Views: 88

Answers (1)

Cheryl Simon
Cheryl Simon

Reputation: 46844

Checkout Apps Script and the DriveApp.

Upvotes: 0

Related Questions