original_string: public function getApiRequestUrl(Event $event)
      {
          $params = $event->getCustomParams();
          $query = trim(implode(" ", $params));
  
          $querystringParams = [
              'v' => '1.0',
              'q' => $query
          ];
  
          return sprintf("%s?%s", $this->apiUrl, http_build_query($querystringParams));
      }
code: public function getApiRequestUrl(Event $event)
      {
          $params = $event->getCustomParams();
          $query = trim(implode(" ", $params));
  
          $querystringParams = [
              'v' => '1.0',
              'q' => $query
          ];
  
          return sprintf("%s?%s", $this->apiUrl, http_build_query($querystringParams));
      }
code_tokens: public function getApiRequestUrl ( Event $ event ) { $ params = $ event -> getCustomParams ( ) ; $ query = trim ( implode ( " " , $ params ) ) ; $ querystringParams = [ 'v' => '1.0' , 'q' => $ query ] ; return sprintf ( "%s?%s" , $ this -> apiUrl , http_build_query ( $ querystringParams ) ) ; }
docstring: Get the url for the API request
  
  @param \Phergie\Irc\Plugin\React\Command\CommandEvent $event
  @return string
docstring_tokens: Get the url for the API request