2012-04-23 65 views

回答

1

您是否試圖使用Google Contacts API:https://developers.google.com/google-apps/contacts/v3/?如果是這樣,請查看python http://code.google.com/p/gdata-python-client/source/browse/samples/contacts/contacts_example.py的示例代碼,其中顯示瞭如何通過Google API客戶端庫訪問。因爲這個API是GDATA API,它看起來比其他谷歌API的代碼通常遵循

from apiclient.discovery import build 
... 
service = build("plus or some other service name here", "v1", http=http) 

模式,這是它聽起來像你正在尋找一個有點不同。

希望這會有所幫助!