我创建了一个新的marketplace应用程序并将其安装到我的域中。我正在尝试使用appsmarket api获取安装了我的应用程序的域的列表,代码如下:
credentials = SignedJwtAssertionCredentials(CLIENT_ID, PRIVATE_KEY, SCOPE)
http = httplib2.Http()
http = credentials.authorize(http)
service = build(serviceName='appsmarket', version='v2', http=http)
lists = service.licenseNotification().list(
applicationId=APP_ID, timestamp=0, max_results=10).execute(http=http)
我得到以下错误:
^{pr2}$根据this answer的说法,我应该向google注册服务器的ip,但我没有找到在哪里注册。在
我错过了什么?在
试试这个:
从你上面给出的链接的评论来看
回答我自己的问题。在
在Google云控制台(或旧的API控制台)中有两个名称相似的服务:
第二个必须启用许可API才能工作。在
相关问题 更多 >
编程相关推荐