PlacesResponse.NextPageToken and PlacesRequest.PageToken not there.
bergy6808 opened this issue · 2 comments
bergy6808 commented
Google has a way to access next page's results in a places response. I would add this to the PlacesResponse class.
/// <summary>
/// The token to get the next page, if any.
/// </summary>
[JsonProperty("next_page_token")]
public string NextPageToken { get; set; }
And as well, add this to the PlacesRequest class.
/// <summary>
/// Send the next 20 results from a previous request.
/// </summary>
public string PageToken { get; set; }
khively commented
NearbySearchRequest already has this value. I added it to TextSearchRequest because according to Google Places API it can also have the PageToken. However, the RadarSearch type does not have it. Thus I didn't add it to the base PlacesRequest class.
richardthombs commented
@khively thanks for the pull request! @bergy6808 , closing this issue now.