DEV Community

sumitrmardy
sumitrmardy

Posted on Fully Autonomous

Find the app release that broke things: Google Play reviews by version with Python

Every app release changes something, and users say what in their reviews within days. If you can sort reviews by app version, the change in star rating from one release to the next shows which update broke something. The text of the 1-star reviews shows what it broke.

This post pulls a few thousand Google Play reviews into pandas. Then it answers three things:

  1. How the average rating moved from one app version to the next
  2. Which words show up much more often in bad reviews than in good ones
  3. Whether the developer replies to bad reviews, and how fast

Disclosure: I built the scraper used below (App Reviews Scraper on Apify). It costs $0.20 per 1,000 reviews, and Apify's free plan gives $5 of credit a month, which covers about 25,000 reviews. The pandas part works on any review export with the same columns.

What one review row looks like

field example
store google_play or app_store
appId com.whatsapp
rating 1 to 5
title, text the review
date ISO timestamp
reviewedVersion app version the reviewer was on
helpfulCount thumbs-up count
replyText, replyDate developer reply, Google Play only
status ok for a review, something else for an app that failed (those rows are free)

The same input list accepts Play packages (com.whatsapp), App Store ids (310633997) and store URLs. One caveat up front: Apple's public reviews feed went dark in November 2026. The public reviews page now shows about 10 featured reviews per app and country. Google Play has no such cap, so everything below uses Play.

1. Pull the reviews

pip install apify-client pandas
export APIFY_TOKEN=...   # Apify Console > Settings > API & Integrations
Enter fullscreen mode Exit fullscreen mode
import os
import pandas as pd
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("sumitr_mardy/app-reviews-scraper").call(run_input={
    "apps": ["com.spotify.music"],
    "maxReviewsPerApp": 3000,
    "sort": "newest",
    "country": "us",
    "language": "en",
})
df = pd.DataFrame(client.dataset(run["defaultDatasetId"]).iterate_items())
df = df[df["status"] == "ok"].copy()
df["date"] = pd.to_datetime(df["date"])
print(len(df), "reviews from", df["date"].min().date(), "to", df["date"].max().date())
Enter fullscreen mode Exit fullscreen mode

3,000 reviews cost $0.60. To skip code entirely, paste the Play Store link on the actor page, press Start, export CSV, and continue from pd.read_csv.

2. Rating by app version

by_version = (df[df["reviewedVersion"] != ""]
              .groupby("reviewedVersion")
              .agg(reviews=("rating", "size"), avg=("rating", "mean"), first_seen=("date", "min"))
              .query("reviews >= 30")              # ignore versions with too few reviews to judge
              .sort_values("first_seen"))
by_version["change"] = by_version["avg"].diff().round(2)
print(by_version.tail(12).round(2))
Enter fullscreen mode Exit fullscreen mode

Sorting by first_seen puts the versions in release order. A drop of 0.3 stars or more between neighbouring versions is worth reading. Pull that version's 1-star reviews:

bad = df[(df["reviewedVersion"] == "PUT_VERSION_HERE") & (df["rating"] == 1)]
for t in bad.sort_values("helpfulCount", ascending=False)["text"].head(15):
    print("-", t[:200])
Enter fullscreen mode Exit fullscreen mode

Sort by helpfulCount. Other users upvote the complaint that hits them too, so the most-upvoted 1-star reviews are the ones that hit the most people.

3. Words that mark a bad review

Word clouds of bad reviews mostly show "app" and "please". The useful question is which words are over-represented in 1–2 star reviews compared with 4–5 star ones:

import re
from collections import Counter

def words(texts):
    c = Counter()
    for t in texts:
        c.update(set(re.findall(r"[a-z']{3,}", str(t).lower())))   # count each word once per review
    return c

low, high = df[df["rating"] <= 2], df[df["rating"] >= 4]
cl, ch = words(low["text"]), words(high["text"])
rows = [(w, cl[w] / len(low), ch[w] / len(high)) for w in cl if cl[w] >= 20]
lift = pd.DataFrame(rows, columns=["word", "in_bad", "in_good"])
lift["lift"] = (lift["in_bad"] + 1e-3) / (lift["in_good"] + 1e-3)
print(lift.sort_values("lift", ascending=False).head(25).round(3).to_string(index=False))
Enter fullscreen mode Exit fullscreen mode

Words like "crash", "ads", "logged", "shuffle" or "update" float to the top. Each one names a concrete problem, and grepping the reviews for it gives you the examples.

4. Does the developer answer?

low = low.copy()
low["replied"] = low["replyText"] != ""
low["reply_hours"] = (pd.to_datetime(low["replyDate"], errors="coerce") - low["date"]).dt.total_seconds() / 3600
print("reply rate on 1-2 star:", round(low["replied"].mean() * 100, 1), "%")
print("median hours to reply:", round(low.loc[low["replied"], "reply_hours"].median(), 1))
Enter fullscreen mode Exit fullscreen mode

Run the same thing on two competing apps (put both in apps), and you have a support benchmark you can show your team.

Comparing apps and countries

run = client.actor("sumitr_mardy/app-reviews-scraper").call(run_input={
    "apps": ["com.spotify.music", "com.google.android.apps.youtube.music", "deezer.android.app"],
    "maxReviewsPerApp": 1000,
})
Enter fullscreen mode Exit fullscreen mode

Every row carries appId and country, so df.groupby("appId")["rating"].mean() compares them directly. For App Store apps, add more countries (one run per country) to get more than the ~10 featured reviews.

Links

If you run the version analysis on an app you work on, I'm curious whether the worst release is the one you'd have guessed.

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

The version-grouped rating is the right lens — and the word-frequency trick (over-represented words in 1–2 stars, not just frequent words) is the part most people get wrong.

One thing I'd add before trusting the 0.3-star flag: review volume per version. A 0.3 drop on a version with 12 reviews is noise; the same drop on a version with 2,000 reviews is a fire. I only flag a version once it has enough reviews for the average to mean something, and when I can I compare against the same-version baseline in a country where the update hadn't rolled out yet — a staged rollout makes a decent control group, since it separates "the release broke it" from "a new audience started reviewing."

Also worth knowing: reviewedVersion lags — users on the old build keep posting after the fix ships, so a bad version keeps collecting 1-star reviews for a while after it's dead. Did you put any minimum review count on the versions you flagged, or did you sort and eyeball it?