使用Google API在本地服务器上查看PDF文件 [英] View PDF file on local server using google API

查看:135
本文介绍了使用Google API在本地服务器上查看PDF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Google Doc API在本地服务器上查看PDF文件或其他任何扩展名,例如[doc - xls] 我使用了一个名为嵌入任何文档和工作,但文件应该可以在网络上访问。



但在我的情况下,该文件是本地的,所以如何直接使用Google API无法使用任何插件? > Google驱动器API 可让您访问插入更新删除并下载Google驱动器上的文件。



没有API可以让你查看文件。您需要下载该文件然后查看它。

How to view PDF file or any other extensions like [doc - xls] on local server using Google Doc API

I used a Wordpress plugin called "Embed Any Document" and works, but the files should be accessible on the web.

but in my case the file is locally, so how to make it with the Google API directly if its not possible with any plugin?

解决方案

The Google drive API gives you access to insert update delete and download the files on Google drive.

There is no API that will allow you to view the file. You will need to download the file then view it.

这篇关于使用Google API在本地服务器上查看PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆