lib/MailchimpApiConnector/MailchimpApi.php
private function getUrlToOldApi($method, array $params, $format)
    {
        $queryString = sprintf(
            '?apikey=%s&format=%s&method=%s%s',
            $this->getApiKey(),
            $format,
            $method,
            $this->paramsQueryStringBuilder($params)
        );

        return sprintf(
            $this::API_URL,
            $this->getDc(),
            $this->getApiVersion(),
            $queryString
        );
    }
private function getUrlToOldApi($method, array $params, $format)
    {
        $queryString = sprintf(
            '?apikey=%s&format=%s&method=%s%s',
            $this->getApiKey(),
            $format,
            $method,
            $this->paramsQueryStringBuilder($params)
        );

        return sprintf(
            $this::API_URL,
            $this->getDc(),
            $this->getApiVersion(),
            $queryString
        );
    }
private function getUrlToOldApi ( $ method , array $ params , $ format ) { $ queryString = sprintf ( '?apikey=%s&format=%s&method=%s%s' , $ this -> getApiKey ( ) , $ format , $ method , $ this -> paramsQueryStringBuilder ( $ params ) ) ; return sprintf ( $ this :: API_URL , $ this -> getDc ( ) , $ this -> getApiVersion ( ) , $ queryString ) ; }
Gets the url for Mailchimp API version < 2.0

@param string $method
@param array  $params
@param string $format

@return string
Gets the url for Mailchimp API version < 2 . 0