google 游戏开发者 api 未返回评论
google play developer api not returning reviews
我正在尝试使用 google api python 客户端和游戏开发者 api.
现在,如果我打印 response
,我会得到
<googleapiclient.discovery.Resource object at 0x10302a990>
什么时候(我想)我应该得到我的应用程序的所有评论。不知道是不是我的代码有误,还是我没有正确获取权限。
谢谢!
代码:
from google.oauth2 import service_account
import googleapiclient.discovery
SCOPES = ['https://www.googleapis.com/auth/androidpublisher']
SERVICE_ACCOUNT_FILE = 'playcreds.json'
credentials = service_account.Credentials.from_service_account_file(
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
playstore = googleapiclient.discovery.build('androidpublisher','v2', credentials=credentials)
response = playstore.reviews()
我正在尝试使用 google api python 客户端和游戏开发者 api.
现在,如果我打印 response
,我会得到
<googleapiclient.discovery.Resource object at 0x10302a990>
什么时候(我想)我应该得到我的应用程序的所有评论。不知道是不是我的代码有误,还是我没有正确获取权限。
谢谢!
代码:
from google.oauth2 import service_account
import googleapiclient.discovery
SCOPES = ['https://www.googleapis.com/auth/androidpublisher']
SERVICE_ACCOUNT_FILE = 'playcreds.json'
credentials = service_account.Credentials.from_service_account_file(
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
playstore = googleapiclient.discovery.build('androidpublisher','v2', credentials=credentials)
response = playstore.reviews()