Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list_reviews() pagination/parameters not working #11276

Closed
zhgchgli0718 opened this issue Aug 12, 2022 · 1 comment
Closed

list_reviews() pagination/parameters not working #11276

zhgchgli0718 opened this issue Aug 12, 2022 · 1 comment

Comments

@zhgchgli0718
Copy link

zhgchgli0718 commented Aug 12, 2022

Environment details

  • OS: macOS
  • Ruby version: 2.6.5
  • Gem name and version: google-apis-androidpublisher_v3 ~> 0.25.0

Code example

        client = Google::Apis::AndroidpublisherV3::AndroidPublisherService.new
        client.authorization = Google::Auth::ServiceAccountCredentials.make_creds(json_key_io: "MY_KEY_CONTENT", scope: 'https://www.googleapis.com/auth/androidpublisher')
       reviews = client.list_reviews(config.packageName).reviews

I've read API Documentation, which defines the list_reviews function has the parameters below:

#list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, options: nil)

After I tried, only list_reviews(package_name) was working, list_reviews(package_name,max_results: 100, start_index: 0) doesn't work, in fact, all parameters except package_name is not working.

Another thing is I didn't receive token_pagination (it's nil) in Class: Google::Apis::AndroidpublisherV3::ReviewsListResponse

I don't know if it's a bug or unimplemented feature or my mistake.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant