code: protected function getUrl($section, array $uriParams = [])
      {
          $endpoint = rtrim($this->getEndpoint(), '/');
          $section = ltrim($section, '/');
          $params = http_build_query($uriParams);
  
          if ($params) {
              return sprintf("%s/%s?%s", $endpoint, $section, $params);
          } else {
              return sprintf("%s/%s", $endpoint, $section);
          }
      }
docs: Returns the formated URL to the requested section
  
  @param string $section   API Section
  @param array  $uriParams Params
  
  @return string