We can integrate directly with Google Play via their API. All we need from you is a JSON key file, and then we can take care of the rest!
To generate a JSON file:
Visit the Google API console and login with your Google Play Console account
Create a new project titled 'Chattermill'
Go to API & Services in the left-hand navigation panel and select Dashboard
Enable API & Services if you haven't already done so
Type
androidpublisher
in Search for APIs & ServiceEnable Google Play Android Developer API
In the left-hand menu, select
Credentials
and clickCredentials in APIs & Services
linkClick on
Create Credentials
and selectService account key
Select
New service account
and complete form. SelectRole = Service Account User
, then selectKey type: JSON
Visit https://play.google.com/apps/publish. Go to
settings
on the left, selectAPI Access
, and thenService Accounts
.Here, you should see the Service account you created for Chattermill. Select
Grant Permission
and then selectRead only access
.
For your reference, the JSON file should look like the below:
{ “type”: “service_account”, “project_id”: project-123123", “private_key_id”: “1234567890123456789012345678901234567890", “private_key”: “-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n”, “client_email”: “[email protected]”, “client_id”: “123123...123123", “auth_uri”: “https://accounts.google.com/o/oauth2/auth“, “token_uri”: “https://accounts.google.com/o/oauth2/token”, “auth_provider_x509_cert_url”: “https://www.googleapis.com/oauth2/v1/certs”, “client_x509_cert_url”: “https://www.googleapis.com/robot/v1/metadata/x509/project%project-123123.iam.gserviceaccount.com” }