googleapis / googleapis/google-api-nodejs-client
How to use maxResults in inappproducts.list
- Dominant language
- TypeScript
- Stars
- 12.2k
- Forks
- 2k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 24
Description
Hello,
I'm tring to get full list of in app products of an android application. This is my code:
```
const androidpublisher = require('@googleapis/androidpublisher')
[...]
const auth = new androidpublisher.auth.GoogleAuth({
keyFilename: path.join(__dirname, '..', 'config', 'credential.json'),
scopes: ['https://www.googleapis.com/auth/androidpublisher']
})
const client = await androidpublisher.androidpublisher({
version: 'v3',
auth: await auth.getClient()
})
const { data } = await client.inappproducts.list({
packageName,
maxResults: 1000,
token
})
```
But I'm not able to get more than 100 products per request, `maxResults` seems not to work. Where I'm wrong?
Thank you
Contributor guide
Assessment
This issue has not been assessed yet.