<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nguyen Duy</title>
    <description>The latest articles on DEV Community by Nguyen Duy (@nguyen_duy_daeb7eb07fb90f).</description>
    <link>https://dev.to/nguyen_duy_daeb7eb07fb90f</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4271863%2F363c1e05-ac73-4f85-91ce-bd1c10d822f0.png</url>
      <title>DEV Community: Nguyen Duy</title>
      <link>https://dev.to/nguyen_duy_daeb7eb07fb90f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nguyen_duy_daeb7eb07fb90f"/>
    <language>en</language>
    <item>
      <title>Google Play reviews API only returns 7 days: how to keep the rest and spot a real rating drop</title>
      <dc:creator>Nguyen Duy</dc:creator>
      <pubDate>Sun, 29 Nov 2026 07:23:49 +0000</pubDate>
      <link>https://dev.to/nguyen_duy_daeb7eb07fb90f/google-play-reviews-api-only-returns-7-days-how-to-keep-the-rest-and-spot-a-real-rating-drop-5h9g</link>
      <guid>https://dev.to/nguyen_duy_daeb7eb07fb90f/google-play-reviews-api-only-returns-7-days-how-to-keep-the-rest-and-spot-a-real-rating-drop-5h9g</guid>
      <description>&lt;p&gt;If you ship an Android app, you have probably read your reviews in the Play Console and wished you could do something with them: keep a history, get alerted, link a complaint to the release that caused it. Google's Developer API lets you do some of that, with a few catches that are easy to miss.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the reviews API actually gives you
&lt;/h2&gt;

&lt;p&gt;From Google's &lt;a href="https://developers.google.com/android-publisher/reply-to-reviews" rel="noopener noreferrer"&gt;Reply to Reviews guide&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It returns only reviews &lt;strong&gt;created or edited in the last week&lt;/strong&gt;, and only reviews &lt;strong&gt;with text&lt;/strong&gt;. A star rating without a comment is not in the API.&lt;/li&gt;
&lt;li&gt;It covers &lt;strong&gt;production&lt;/strong&gt; releases. Feedback on alpha and beta tracks is not there; use the Console for that.&lt;/li&gt;
&lt;li&gt;Pages hold 10 reviews by default and up to 100 with &lt;code&gt;maxResults&lt;/code&gt;; you walk pages with a token.&lt;/li&gt;
&lt;li&gt;Quotas: 200 GET requests per hour and 2,000 replies per day.&lt;/li&gt;
&lt;li&gt;A reply can be at most 350 characters, and the same call edits an existing reply.&lt;/li&gt;
&lt;li&gt;For older reviews Google points you to the CSV export in the Play Console.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first point is the one that bites: &lt;strong&gt;anything you do not save is gone from the API after a week.&lt;/strong&gt; If your script is down for ten days, the first days of that gap are lost unless the author edits the review later.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small design that keeps your history
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Poll on a schedule shorter than a week (daily is fine, the quota is generous).&lt;/li&gt;
&lt;li&gt;Upsert by &lt;code&gt;reviewId&lt;/code&gt;. A review that is edited comes back with a new &lt;code&gt;lastModified&lt;/code&gt;, so compare text, stars and timestamp and treat a change as an update, not a duplicate.&lt;/li&gt;
&lt;li&gt;Store the app version, device and Android version that come with each review. They are the link between a complaint and a release.&lt;/li&gt;
&lt;li&gt;Do not store the author's name unless you need it. You usually do not.&lt;/li&gt;
&lt;li&gt;Backfill older history once from the Console's CSV export.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Reading is safe. Posting replies automatically is where people get into trouble, so draft first and publish only after a human approves.&lt;/p&gt;

&lt;h2&gt;
  
  
  "Our rating dropped after 1.4": real or noise?
&lt;/h2&gt;

&lt;p&gt;Once you have reviews by version, the obvious alert is "average rating of the new version is at least 0.5 stars below the previous one". We tried it on simulated data and it is much noisier than it looks.&lt;/p&gt;

&lt;p&gt;We drew two groups of reviews from the &lt;strong&gt;same&lt;/strong&gt; star distribution (13% 1-star, 5% 2-star, 7% 3-star, 15% 4-star, 60% 5-star; an assumed shape, not real data) and asked the rule "is the new version at least 0.5 below the old one, with at least 10 reviews each?". With ten reviews per version it fired &lt;strong&gt;23.5% of the time even though nothing had changed&lt;/strong&gt;. With twenty it fired 14.5%, with thirty 8.7%.&lt;/p&gt;

&lt;p&gt;Star ratings are lopsided and spread out, so means over a few reviews move a lot by chance. Adding a simple Welch-style test, requiring the difference divided by its standard error to be at least 2, cut the false alarms to &lt;strong&gt;2.9% at ten reviews per version&lt;/strong&gt; (2.7% at twenty, 2.2% at thirty), while a real fall from about 4.5 to about 2.6 stars with twenty reviews per version was still caught &lt;strong&gt;97% of the time&lt;/strong&gt;. These are simulation results with an assumed distribution; your app will differ, and checking many releases compounds the chance of a false alarm.&lt;/p&gt;

&lt;p&gt;The practical rule: do not alert on small samples, and require both a size and a significance condition.&lt;/p&gt;

&lt;h2&gt;
  
  
  What exists already
&lt;/h2&gt;

&lt;p&gt;You do not have to build this yourself. There are open-source bots (for example SARR, ZReviewTender, ReviewMe), n8n and Make templates that post Play reviews to Slack or draft replies with an LLM, and paid tools such as Appbot and AppFollow. Many of the free ones read reviews from a scraper instead of the official API, which is fine for apps you do not own but not what you want for your own.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we built, and what we have not tested
&lt;/h2&gt;

&lt;p&gt;We wrote a small read-only tool that does the polling, storage, per-version rating report and draft files described above. It runs on your machine with your own service account, so we never get access to your Play account. It is tested on synthetic data and we have confirmed it connects and authenticates against the API, but &lt;strong&gt;it has not yet been run on an app with real review volume.&lt;/strong&gt; The classifier is a keyword baseline, not an AI model, and its accuracy on real reviews is unknown.&lt;/p&gt;

&lt;p&gt;If you have an Android app that gets a few reviews with text each week and would try it for 30 days, we would like to hear what breaks: &lt;a href="mailto:founder@duytrichdan.com"&gt;founder@duytrichdan.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>android</category>
      <category>googleplay</category>
      <category>api</category>
      <category>python</category>
    </item>
  </channel>
</rss>
