Found many errors in documentation[ Edited ]
November 2016 - last edited December 2016 by Terry W
I've found a number of issues in the documentation that reflect poorly on Google.
There is a mispelling of "Locations" as "Locatoins".
There is no specific mention of pagination in the Java API at all until one looks in the source code. I haven't figured out how to get it to paginate yet but some mention of this topic should be required.
The getReviews() method on List, and getAccounts() method both are said to possibly return null in the code, but only the getLocations() example code shows checking for null values.
I'm still going to use the Java client because it purportedly handles OAuth2 token refreshing, but the documentation of this API gives me low confidence.
Re: Found many errors in documentation[ Edited ]
December 2016 - last edited December 2016
Hi @Dermot H,
You can add the pageSize and pageToken query parameters to the GET request and use the returned nextPageToken field value for returning a paginated list of locations for the specified account or a paginated list of reviews for the specified location. Please check out this thread for a Java code snippet.
Thank you for your input regarding code samples! We will keep a note for your scenario in future improvements.