DEV Community

CrawlKit560
CrawlKit560

Posted on

Watching competitors on Google Play with a weekly spreadsheet

I wanted to know whether Babbel's rating drops after they ship a release. The Play Console can't tell you that, it only knows about your own apps. The store page has it, but I wasn't going to open it every Monday and copy numbers by hand.

So I set up a small job that reads the public page of a few apps once a week and appends a row to a sheet. On November 26 the Babbel row said: 50,000,000+ installs, rating 4.57 from 1,129,055 ratings, version 22.24.1 released the day before. 50,747 of those ratings were one star, about 4.5%, which is the number I check first.

The quickest way to get this data in Python is the open-source google-play-scraper package:

# pip install google-play-scraper
from google_play_scraper import app

for package in ["com.duolingo", "com.babbel.mobile.android.en"]:
    info = app(package, lang="en", country="us")
    print(package, info["installs"], info["score"], info["histogram"], info["updated"])
Enter fullscreen mode Exit fullscreen mode

One surprise: for Duolingo, version came back empty. Their page doesn't show one ("Varies with device"), and plenty of big apps do the same, so for them the update date is the only release signal you get.

The script itself is fine on a laptop. My problem was the scheduling, plus keeping last week's numbers somewhere to compare against, and I didn't want to babysit a cron job for that.

Disclosure: I wrote the hosted version I use for that, a Google Play Scraper actor on Apify. It returns one flat JSON row per app and costs $0.27 per 1,000 apps, so a weekly run on a few apps stays inside Apify's free plan.

# pip install apify-client
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("sweet_stickball/google-play-apps-scraper").call(run_input={
    "appIds": ["com.duolingo", "com.babbel.mobile.android.en"],
    "developerIds": ["Busuu"],  # every app from this developer
    "country": "us",
    "language": "en",
    "maxItems": 50,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["appId"], row["minInstalls"], row["score"], row["histogram"]["1"], row["updated"], row["version"])
Enter fullscreen mode Exit fullscreen mode

developerIds pulls every app a developer has published, handy if you want to know when a competitor ships a second app.

For the weekly part I saved the input as a task in the Apify Console and attached a schedule, Mondays at 7:00. Rows go to Google Sheets through the built-in integration, though n8n or Make work just as well if you already use them.

Don't expect much from the install column. Google only shows ranges (1,000,000+, then 5,000,000+), so it barely moves, and when it does it's usually a featuring or a big campaign. If I could keep only one column it would be the one-star share: if it jumps the week after a release, something broke, and the app's recent reviews usually say what. Release dates are worth a look too. Babbel shipped on November 25 and Duolingo the day before, so this week's rows were taken right after a release for both.

Has anyone found a better early signal of a bad release than the one-star share?

Top comments (1)

Collapse
 
userxnom profile image
Abdullah Naseer •

This is the exact kind of boring, useful tracking I wish more solo Android developers did — the one-star share is the right column to watch first, and your Babbel example makes the case: 4.57 from 1,129,055 ratings looks healthy at a glance, but 50,747 one-star ratings, about 4.5%, is where a bad release would actually show up first. The install ranges are too coarse to be an early warning, as you say, and the "Varies with device" gap for Duolingo is a good catch — version is the column I would miss most when it goes blank. For a better early signal, I would pair the one-star share with the wording in the newest one-star reviews in that same week: the share tells you something broke, and the reviews usually tell you what. Do you track the review text alongside the share, or do you keep the sheet to numbers only?