• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

googlearchive/drive-zipextractor: Extract (decompress) ZIP files into Google Dri ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

googlearchive/drive-zipextractor

开源软件地址(OpenSource Url):

https://github.com/googlearchive/drive-zipextractor

开源编程语言(OpenSource Language):

JavaScript 90.1%

开源软件介绍(OpenSource Introduction):

Deprecated

This sample is no longer maintained. No further updates will be made.

ZIP Extractor

Sample app for extracting ZIP files into Google Drive using the Google Drive API.

This is a pure-Javascript app that makes use of the public Google Drive API to read ZIP files from Google Drive and extract their contents into Google Drive. Hierarchical ZIP files (ZIP files with subfolders) are supported.

The app is based on the drive.file OAuth2 scope, where permission is granted only for individual files that the user authorizes.

ZIP Extractor makes use of CORS (Cross-Origin Resource Sharing) methods for uploading and downloading files from Drive. The app also demonstrates the use of the File Picker and Sharing widgets as part of the Drive API. ZIP extractor also demonstrates how to integrate with the Google Drive web and Android apps.

This app uses the zip.js – Javascript-based ZIP library.

Deploying

To run this code yourself, it will need to be hosted somewhere. Options for hosting include Google App Engine or your own web server.

In all cases, a configuration will need to be created in the Google Developers Console, as outlined here: https://developers.google.com/drive/api/v3/enable-sdk

Note: The resulting App ID, Client ID, and API Key generated as part of that process will need to be put into the your app's configuration (in actual code). For ZIP Extractor, that configuration information in found in 'config.js' under the '/js/zipextractor/' directory.

Support

For any questions about the Drive API, you can also post a question on the Stack Overflow forums: http://stackoverflow.com/questions/tagged/google-drive-sdk

Note: This is not an official Google product.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap