I am trying to build an application which will implement following functionalities
我正在尝试构建一个将实现以下功能的应用程序
It will displays the filenames in my google drive account
它会在我的google云端硬盘帐户中显示文件名
Each file has a Delete File button that can delete the file from my google drive account
每个文件都有一个删除文件按钮,可以从我的谷歌驱动器帐户中删除该文件
Page has a Add File button that lets me upload a new file to my google drive account
页面有一个“添加文件”按钮,可让我将新文件上传到我的Google云端硬盘帐户
Each file has a View File button. If the file is a PDF, display the PDF file in the browser using any open js library of your choice. If the file is not a PDF, download the file to the computer.
每个文件都有一个View File按钮。如果文件是PDF,则使用您选择的任何打开的js库在浏览器中显示PDF文件。如果文件不是PDF,请将文件下载到计算机。
Please suggest code or any link or api.
请建议代码或任何链接或API。
1 个解决方案
#1
0
It's all possible with Google Drive REST API. It is well documented and there is a lot of guides and wide variety of languages you can use.
使用Google Drive REST API可以实现这一切。它有详细记录,您可以使用许多指南和各种语言。
I think the most appreciate for you will be JavaScript. Link to JS quickstart
我认为最感谢你的是JavaScript。链接到JS快速入门
#1
0
It's all possible with Google Drive REST API. It is well documented and there is a lot of guides and wide variety of languages you can use.
使用Google Drive REST API可以实现这一切。它有详细记录,您可以使用许多指南和各种语言。
I think the most appreciate for you will be JavaScript. Link to JS quickstart
我认为最感谢你的是JavaScript。链接到JS快速入门