Google Play Console API - google-play-console

Issue: My clients need to access app information, such as installs, uninstalls, and respond app user comments.
They access the Google Play Console to manage the information above, but are computer laymen, and with access to the Google Play Console they can run undesirable settings or even remove the app from the Google Play Console.
Solution: Create a web portal for them to view only specific information (Installations, Uninstallations and responding to end user comments from the app).
Doubt: What API will the portal that I'm going to develop need to consume to display the information (Installs, Uninstallations and answer End User Comments)?
Annex draft of the project.

Why don't you just use user permissions in the Play console to prevent them from doing anything undesirable? You can give users read only access, and even per-app access.
Then you don't have to write any code at all.

As i understand it, your portal will mainly need two things :
The reviews sent by users via Google Play Store
The Google Play Console reports
Then, you will have to do the job yourself, create some kind of blog where end-users can posts reviews, and other users can comment it. You will also need to retrieve the reviews posted via Google Play Store, and use this data to automatically post a new review on your portal. The Reply to Reviews API can help you to retrieve such reviews, in a formated output (Json).
The install and uninstall are available thanks to Google Play Console reports, stored in a private Google Cloud Storage bucket. There are a few ways to download these reports, but i guess you want get them programmatically in order to automate the process. You will need gsutil to achieve this task. I understood gsutil gives you CSV files, witch can be parsed pretty easily, in order to isolate ans send the informations you need to your portal.

Related

How to get the get API path and parameters of Google play developer API?

I have added a non-renewable subscription for one of my projects. We also started implementing the Google play developer API to get the subscription latest status from the Play Store. For that we have done the below steps as per this blog:
Linked the developer account to a new Google Cloud Project.
Enabled the Google Play Developer API for the Google Cloud Project.
Created a service account and created a key for the service account.
I have below clarifications related to this implementation:
I tried to Grant Access for the following permissions: But the corresponding checkmark is not clickable.
View financial data, orders, and cancellation survey responses
Manage orders and subscriptions
The 3rd step as per the blog is to Authorize an API key, but I didn't get a clear idea of that.
We are going to implement this API on the back end side as a corn job, do we need to generate a JWT token for accessing this API? Is this possible to call without a Token? I found 2 types of implementations from this blog, which one is easy and secure?
"Your application can complete these tasks either by using the Google APIs client library for your language or by directly interacting with the OAuth 2.0 system using HTTP."
From where we get the get API path and other details. I found a similar get API from AppStore like this. Is the play store providing a similar kind of get API?
We need the latest purchase status API and for that what parameters do we need to pass?

Privacy Policy for the app on Google Play that doesn't collect any user data

I want to publish a simple app that doesn't collect any personal data. It is an offline game (noughts and crosses), that doesn't require any account, and stores only field state on the user's device. I don't have any server and don't transfer the data anywhere, so it's fully offline. But Google Play asks for a Privacy Policy. How can I get it? Is there any standard Privacy Policy for such type of application? Can I just write something like "We don't store and transfer any personal data"?
Disclaimer: I Am Not A Lawyer
I recently ran into this myself. I have a very simple app that does not collect any personal information.
I looked all over and tried a few of the privacy policy generators, but they all seemed like overkill. So I started with a simple statement:
This application does not collect or store personal data.
Then based on this comment, I added another note:
If you installed this application from Google Play, then Google Play does collect some personal data. Please see the privacy policy for Google Play Services here: https://policies.google.com/privacy
Here's the whole thing: https://github.com/bmaupin/android-pitchpipe/blob/main/metadata/en-US/privacy_policy.txt
Easiest way is just to use a privacy policy generator such as this one: https://app-privacy-policy-generator.firebaseapp.com/
It's simple to use and only takes a few minutes to get you a privacy policy

Overly broad permission ask for google youtube API

I'm using the YouTube API to create a webpage that allows users to view a specific set of YouTube videos, and then LIKE those videos, using YouTube like/dislike rating system, and It's working fine, but when the user triggers the process, after logging into their google account, they are presented with a permission dialog that basically says
"Hey, this site wants complete and total control over your YouTube account!".
I DO NOT want that, I only want the user to be able to rate the videos.
I'm using the PHP Client library to pull the list of videos into the page and display them, and this requires no permissions or interaction from the user. I am also using the JS library to handle the "like" functionality, and it's basically the javascript example from https://developers.google.com/youtube/v3/docs/videos/rate?apix=true, but with my credentials.
Can I change this somewhere, or does YouTube just lump all of it's permissions under one giant "I can do anything" permission group?
I figured it out. It's about the OAuth 2 scopes, which the example lets you change for the DEMO, but it doesn't actually change the code in the sample.
For reference, the list of scopes is here: https://developers.google.com/identity/protocols/googlescopes#youtubev3

How can I let others read and edit a google sheet (not shared with them) using googleapi, without them having to download credential?

I am a beginner trying out api for fun.
The problem is, lets say, I want to write a simple windows program with golang to let my friends read and edit one of the sheets saved on my google drive. How can I do this without having them download a credential file?
What I want it to do is simply redirect them to the Oauth Page right away, and if their email address is one recognized by the app it will grant them access to that google sheet.
What i think you need is to integrate your go app with Oauth protocol.
More specifically, with the Google provider.
This is mainly 3 steps:
add the oauth client to your application
something like this: https://github.com/golang/oauth2
See their docs on how to do it.
go to google dev documentation and see how to integrate google auth flow into the client: https://developers.google.com/identity/protocols/OAuth2
I'm not sure if google has something more specific for google drive integration and/or go-lang client in particular. Please do some searching.
make the glue code on your go app so that the user can interact with this (the login button (or command, if it is terminal based), error messages, logout, etc)
More questions will appear when you start to do this, however it is a great example to learn Oauth as well.
General guidelines:
https all the queries or oauth is basically useless
oatuh has many auth-flows and you must choose which one(s) you support. use whatever google documentation recommends for m2m scenario (machine 2 machine)
log errors so that your friends can send you a log file for you to debug issues
maybe set some feature flag so that you can simply disable this feature to run/test localhost ? maybe useful? you decide.

Add user review to Google map from my application(Android)

I am trying to create a location-based services Android application. I had successfully getting the user reviews from Google Places API by following the guidance from this link.
https://developers.google.com/places/documentation/details
I also found many posts regarding how to get user reviews from Google Places. But Now I want to create a function which user can insert reviews from my application. Is there anyway to do that?
Thanks.
No. There is no API for writing review. Also the Google+ mobile URL doesn't have the write review option from last year. Its a bug , but Google is not fixing this.
There is only one way to write review is through desktop URL. I have a similar location base app in play store where I have done some workaround to show desktop site to write review.

Resources