Google-api-nodejs-client: Add sample for android publisher api

Created on 2 May 2018  路  6Comments  路  Source: googleapis/google-api-nodejs-client

I am trying to use android publisher api using nodejs-client for server to server ( service account ) related communication, but couldn't find any sample for the same.
Is that is supported by google-api-nodejs-client?

At least some api docs or sample example would help a lot.

help wanted docs

Most helpful comment

I was able to do it by myself after looking through the code base. But I think there should be an example for the same.

All 6 comments

Greetings! What specifically are you trying to do with the android publisher API? As it would turn out, it does a lot :)

https://developers.google.com/android-publisher/api-ref/

We should support pretty much all of that via this npm module. If you can let me know what you need, I should be able to whip up a sample :)

I am trying to use it with google in app billing.
My use case is as follows -

  1. Validate purchases made by user on server side
  2. Get list of all purchases made having valid purchase token
  3. Do the reconciliation of failed transactions e.g user who made the purchase and could get the product due to some client side error, they were not able to send the purchase token to server.

I was able to do it by myself after looking through the code base. But I think there should be an example for the same.

Hi,
I want to use the service account json file for authentication which we receive from Google Play dev console. Then, call androidpublisher.purchases.get method through nodejs client library.
It would be great if there is a sample for the above task. Thanks!!

Greetings, we're closing this due to inactivity. Please let us know if the issue needs to be reopened.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ovaris picture ovaris  路  3Comments

oliverjessner picture oliverjessner  路  3Comments

hainguyents13 picture hainguyents13  路  3Comments

skiod picture skiod  路  3Comments

streamnsight picture streamnsight  路  4Comments