8

Is there any API or script to get back a list of all live Google Play subscriptions for a given app? ie a data form of what's shown on the Play developer console under Subscriptions.

Stripe, for example, has an explicit list subscriptions API, but I can't find the equivalent for Play.

UPDATE: Since writing this, I've enquired to official sources and I can confirm there is indeed no API to retrieve all of your subscriptions. Certainly surprising, but that's where it stands.

mahemoff
  • 44,526
  • 36
  • 160
  • 222

1 Answers1

0

As described in the documentation on the device you can use the getPurchases() method returns live subscriptions.

On the server there is the Google Developer API Purchases.subscriptions REST Object.

Nick Fortescue
  • 13,530
  • 1
  • 31
  • 37
  • 2
    Isn't that just for one user though? "This method returns the current un-consumed products owned by the user". I'm trying to get all subscriptions for all users. – mahemoff Feb 05 '18 at 11:03