-
Notifications
You must be signed in to change notification settings - Fork 84
Search offset doesn't work #18
Comments
I confirmed locally that the offset parameter isn't working currently. I'm investigating whether the parameter has changed and will get back to you. |
yeah it looks like they got rid of the offset ( |
FYI search response contains a Using that URL one can iterate over the result pages. |
nice. yeah the containerMetadata field is described here https://github.com/dweinstein/google-play-proto/blob/master/googleplay.proto#L546-L554 -- I suppose I could return an iterator that would allow requests to walk the nextPages, but that would probably have to be exposed as a different method name on the API object. Thoughts on this? |
Iterator is an excellent idea! As for exposing new search functionality under a different method name, I believe this is a matter of preference. The way things are going with Google Play the search method will be useless unless people are only looking to get the 1st page of the results. So why not change it completely and bump the major version of the project? Again, this is a matter of preference. The only alternative I can think of is iterating the pages internally and collecting the results in a single array to return. |
How do you go about using the nextPageUrl to navigate to the next page? Right now I am just using the search function example with the command running node search.js etc etc etc
How can I retrieve the nextPageUrl and navigate to it? |
Seems that "offset" param in the search() method doesn't do anything.
The code below produces the following results:
But when I change the offset from
0
to5
I still get the same results.Do you know if Google have changed their API? I am pretty sure this was working fine a few months ago.
The text was updated successfully, but these errors were encountered: