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 目详情-五一模拟赛详情页
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line