【发布时间】:2021-12-08 22:30:44
【问题描述】:
我想使用Domain Shared Contacts API 作为 python 客户端库的一部分。
我在其他情况下使用的流程: 创建凭据:
credentials = service_account.Credentials.from_service_account_info(....)
'创建'我稍后执行的服务对象
service = googleapiclient.discovery.build(service_name, api_version,credentials=credentials)
对于域共享联系人 API,我不知道要使用哪个 service_name 或 api_version Google API Discovery Service(如果有)。 是否可以使用联系人或人员 API 创建/更新/删除域的外部联系人?
如果没有,使用此 API 的过程是在您的代码库 Using OAuth 2.0 for Web Server Applications 中创建对 REST 端点的请求,例如: https://www.google.com/m8/feeds/contacts/example.com/full
【问题讨论】:
标签: google-api google-contacts-api google-people-api google-shared-contacts