略微加速

略速 - 互联网笔记

谷歌支付报表自动获取

2020-09-14 leiting (1127阅读)

标签 开发编程

gsutil

  • 用于下载Google Play账单

  • 链接地址 https://cloud.google.com/storage/docs/quickstart-gsutil

  • 需要python2.7,一般不需要手动安装

  • Google Cloud SDK https://cloud.google.com/sdk/docs/

    • 选择对应系统的版本

    • 下载到本地

    • 运行 tar -zxf xx.xx.tz Dir 解压

    • source install.sh 安装

    • 提示 Do you want to help improve the Google Cloud SDK 看心情选,建议选No

    • update your $PATH and enable shell command completion 选Yes

    • Enter a path to an rc file to update, or leave blank to use 没有自定的rc文件就回车

  • 安装完毕后,运行 ./google-cloud-sdk/bin/gcloud init 初始化

  • 初始化后新开一个终端或者运行下配置文件,使PATH生效

  • 运行 gcloud init 配置google账号

  • You must log in to continue. Would you like to log in (Y/n)? 选Yes登录

  • 会弹出一个网页登录Google账号,或者会在命令行提示,总之登录有权限的那个Google账号

  • 然后会弹出所有工程列表,选择对应游戏的工程

  • 如果之后有多个游戏需要权限,运行gcloud topic configurations 试试

  • 这时运行 gsutil ls -l gs://pubsite_xxxx_rev_xxxxxxxxx/sales/ 应该能够看到正确的文件列表了



北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3