src/Resources/Search.php
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)]);
  }
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)]);
  }
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 ) ] ) ; }
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
Returns a list of stream objects matching the search query .