original_string: private function search(string $parameter, string $value): SeriesData
      {
          $options = [
              'query' => [
                  $parameter => $value,
              ],
              'http_errors' => false
          ];
  
          $json = $this->client->performApiCallWithJsonResponse('get', '/search/series', $options);
          return ResponseHandler::create($json, ResponseHandler::METHOD_SEARCH_SERIES)->handle();
      }
code: private function search(string $parameter, string $value): SeriesData
      {
          $options = [
              'query' => [
                  $parameter => $value,
              ],
              'http_errors' => false
          ];
  
          $json = $this->client->performApiCallWithJsonResponse('get', '/search/series', $options);
          return ResponseHandler::create($json, ResponseHandler::METHOD_SEARCH_SERIES)->handle();
      }
code_tokens: private function search ( string $ parameter , string $ value ) : SeriesData { $ options = [ 'query' => [ $ parameter => $ value , ] , 'http_errors' => false ] ; $ json = $ this -> client -> performApiCallWithJsonResponse ( 'get' , '/search/series' , $ options ) ; return ResponseHandler :: create ( $ json , ResponseHandler :: METHOD_SEARCH_SERIES ) -> handle ( ) ; }
docstring: Search for a series based on parameter and value.
  
  @param string $parameter
  @param string $value
  @return SeriesData
  @throws RequestFailedException
  @throws UnauthorizedException
  @throws InvalidArgumentException
  @throws InvalidJsonInResponseException
docstring_tokens: Search for a series based on parameter and value .