original_string: public function searchStreams($query, $params = [])
    {
        $defaults = [
        'query'  => urlencode($query),
        'limit'  => 25,
        'offset' => 0,
        'hls'    => null,
      ];
  
        return $this->wrapper->request('GET', 'search/streams', ['query' => $this->resolveOptions($params, $defaults)]);
    }
code: public function searchStreams($query, $params = [])
    {
        $defaults = [
        'query'  => urlencode($query),
        'limit'  => 25,
        'offset' => 0,
        'hls'    => null,
      ];
  
        return $this->wrapper->request('GET', 'search/streams', ['query' => $this->resolveOptions($params, $defaults)]);
    }
code_tokens: public function searchStreams ( $ query , $ params = [ ] ) { $ defaults = [ 'query' => urlencode ( $ query ) , 'limit' => 25 , 'offset' => 0 , 'hls' => null , ] ; return $ this -> wrapper -> request ( 'GET' , 'search/streams' , [ 'query' => $ this -> resolveOptions ( $ params , $ defaults ) ] ) ; }
docstring: Returns a list of stream objects matching the search query.
  
  Learn more:
  https://github.com/justintv/Twitch-API/blob/master/v3_resources/search.md#get-searchstreams
  
  @param  string $query   Search query
  @param  array $params Optional params
  
  @return array
docstring_tokens: Returns a list of stream objects matching the search query .