简体   繁体   中英

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 (eg string, binary), but something along these lines.

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

Checkout Apps脚本和DriveApp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM