google-drive-picker:基于 Promise 的 Google Picker API 包装

时间:2021-06-17 08:20:47
【文件属性】:
文件名称:google-drive-picker:基于 Promise 的 Google Picker API 包装
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-17 08:20:47
JavaScript Google 云端硬盘选择器 基于 Promise 的包装。 Google 的 JS 客户端库需要来加载必要的 API、授权和构建 Google Drive 文件选择器。 该项目消除了在包装函数的样板文件。 用 在使用该库之前,您需要通过创建一个项目,启用Google Picker API并创建用于 OAuth 和公共 API 访问的凭据。 必需:已加载 Google 的 API ( ) 和或 。 // Build a picker var picker = new GoogleDrivePicker ( { apiKey : 'myApiKey' , clientId : 'myClientId' } ) ; // Use it picker . pick ( ) . then ( function ( data ) { // Handl
【文件预览】:
google-drive-picker-master
----.jsrc(32B)
----package.json(446B)
----LICENSE(1KB)
----google-drive-picker.min.js(2KB)
----google-drive-picker.js(4KB)
----.gitignore(13B)
----Makefile(132B)
----README.md(2KB)
----bower.json(550B)
----.editorconfig(288B)

网友评论