通过API部署到Google Play商店 [英] Deploy to Google Play Store via API

查看:244
本文介绍了通过API部署到Google Play商店的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是持续集成/部署的忠实拥护者,我们使用Jenkins构建我们的Android应用程序,并从特定分支机构部署每个构建(主要是Play商店开发人员来手动上传APK控制台.我已经搜索了API.但是Google没有提供我发现的任何两个非正式项目( Android Market API 播放PHP API )仅支持下载指标,例如应用程序的下载数量.

那么有人能想到一种通过cURL或小脚本上传APK的方法吗?

解决方案

Google发布了新的API,可自动部署到Alpha/Beta和Production渠道!

此处

Api功能:

  • 通过将APK分配给以下内容来上传应用的新版本:释放应用 各种曲目(alpha,beta,分阶段推出或制作)
  • 创建和修改Google Play商店列表,包括本地化的文字 和图形以及多设备屏幕截图

已更新:

一些有关如何使用API​​的Java示例:样本

已更新(2015年6月8日):

我发现并且正在使用使用此API的gradle插件,其名为 gradle -播放发布商.它非常易于使用,您只需要获得一个服务帐户并下载带有证书的p12文件(PlayStore->设置-> API访问>>创建服务帐户" >>选择p12格式并阅读说明插件网站!

I'm a big fan of continuous integration / deployment and we build our Android apps with Jenkins and deploy every build from specific branches (mostly git flow's develop branch) to our testers via HockeyApp.

What I want to achieve is that every new (tagged) commit to master will endup in the Play Store. So I don't have to manually upload APKs via the Play Store developer console. I've already searched for an API. But Google doesn't provide any and the two unofficial projects I found (Android Market API and Play PHP API) only support downloading metrics like the download count of your app.

So can someone think of a way to upload APKs via cURL or a small script?

解决方案

Google releases a new API for automatic deploy to Alpha/Beta and Production channels!

take a look here

Api features:

  • Uploading new versions of an app Releasing apps, by assigning APKs to various Tracks (alpha, beta, staged rollout, or production)
  • Creating and modifying Google Play Store listings, including localized text and graphics and multi-device screenshots

Updated:

Some java samples about how to use the API: samples

Updated (08-June-2015):

I found and I'm using a gradle plugin that use this API, its called gradle-play-publisher. It is very easy to use, you need only to get a Service account and download a p12 file with a certificate (PlayStore --> Settings --> API access >> "Create Service Account" >> choose p12 format and read instruction in plugin website!

这篇关于通过API部署到Google Play商店的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆