drgd73844 2014-04-01 20:22
浏览 22
已采纳

Google App Engine应用程序拥有的驱动器API(PHP)

I'm setting up an application-owned service which can access it's own Drive (and I will share private spreadsheets with it).

According to the Developer Page for Account Services #AppEngine:

  • "In the sidebar on the left, select APIs & auth. In the list of APIs, make sure the status is ON for the Drive API." (DONE)
  • "To find your application's API key, expand the Browser Key or Server Key sections" (Can't seem to find that, but I was prompted to download a key with "notasecret" - not sure if this is it and where the key is).
  • Next, it gives start examples, but not in PHP. Do I have to download and include the Google API for PHP?
  • 写回答

1条回答 默认 最新

  • doufei7516 2014-04-02 05:05
    关注

    "To find your application's API key, expand the Browser Key or Server Key sections" (Can't seem to find that, but I was prompted to download a key with "notasecret" - not sure if this is it and where the key is).

    Go to this URL

    https://code.google.com/apis/console/b/0/?noredirect#project:999999999999:access
    

    where 99999999 is the numeric project ID which you can find at the top of the screen, or embedded within your URL. ^f for API Key, or scroll down around 3/4 of the page.

    Next, it gives start examples, but not in PHP. Do I have to download and include the Google API for PHP? You can either access it using the raw http rest API, or use the PHP wrapper library. Examples of both canbe found in the respective API reference pages, eg https://developers.google.com/drive/v2/reference/files/list

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图2.0 版本点聚合中Marker的位置无法实时更新,如何解决呢?
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题