@NonNull
    @WorkerThread
    private static JSONResult request(@NonNull final SuConnector connector, @NonNull final SuApiEndpoint endpoint, @NonNull final String method, @NonNull final Parameters params) throws SuApiException {
        final String host = connector.getHost();
        if (StringUtils.isBlank(host)) {
            return new JSONResult("unknown connector host");
        }

        final OAuthTokens tokens = new OAuthTokens(connector);
        if (!tokens.isValid()) {
            throw new NotAuthorizedException();
        }
        OAuth.signOAuth(host, endpoint.methodName, method, connector.isHttps(), params, tokens, connector.getConsumerKey(), connector.getConsumerSecret());

        final String uri = connector.getHostUrl() + endpoint.methodName;
        final JSONResult result;
        try {
            if ("GET".equals(method)) {
                result = new JSONResult(Network.getRequest(uri, params).blockingGet());
            } else {
                result = new JSONResult(Network.postRequest(uri, params).blockingGet());
            }
        } catch (final RuntimeException e) {
            if (e.getCause() instanceof InterruptedException) {
                Log.w("SuApi.JSONResult Interrupted");
                return new JSONResult("interrupted");
            }
            Log.e("SuApi.JSONResult unknown error", e);
            throw new ConnectionErrorException();
        } catch (final Exception e) {
            Log.e("SuApi.JSONResult unknown error", e);
            throw new ConnectionErrorException();
        }

        if (!result.isSuccess) {
            Log.w("JSONResult exception, failed request");
            throw new ConnectionErrorException();
        }
        if (result.data.get("status").get("code").toString().contains("ERROR") && result.data.get("status").get("type").toString().contains("AuthorisationRequired")) {
            throw new NotAuthorizedException();
        }
        return result;
    }
Returns list of caches located around {@code center}

@param center    coordinates of the central point
@param radius    radius in km
@param connector Geocaching connector
@return list of caches located around {@code center}
main/src/main/java/cgeo/geocaching/connector/su/SuApi.java