windy1/google-places-api-java

getNearbyPlaces with rankby

Closed this issue · 3 comments

Hey Thanks for the library!

Can you add the function to getNearbyPlaces with rankby. Right now is with radius. I want to show the results based on ranking.

trying to create the subclass but due to buildUrl is private method unable to do that. I am using jar file

Thanks

This would be great. I find the current results to be in a somewhat random order.

@faizandedia You wouldn't want to make a subclass, you would want to make another method signature in GooglePlaces for retrieving results by rankby.

@EpicDraws It's not in a random order it's actually sorted in order of distance.

See: https://developers.google.com/places/documentation/search#PlaceSearchRequests