algoliasearch/src/main/java/com/algolia/search/saas/places/PlacesClient.java
protected JSONObject search(@NonNull PlacesQuery params) throws AlgoliaException {
        try {
            JSONObject body = new JSONObject()
                .put("params", params.build());
            return postRequest("/1/places/query", /* urlParameters: */ null, body.toString(), true /* readOperation */, /* requestOptions: */ null);
        }
        catch (JSONException e) {
            throw new RuntimeException(e); // should never happen
        }
    }
protected JSONObject search(@NonNull PlacesQuery params) throws AlgoliaException {
        try {
            JSONObject body = new JSONObject()
                .put("params", params.build());
            return postRequest("/1/places/query", /* urlParameters: */ null, body.toString(), true /* readOperation */, /* requestOptions: */ null);
        }
        catch (JSONException e) {
            throw new RuntimeException(e); // should never happen
        }
    }
Search for places.

@param params Search parameters.