original_string: public function getStreams($params = [])
    {
        $defaults = [
            'game'        => null,
            'channel'     => null,
            'limit'       => 25,
            'offset'      => 0,
            'client_id'   => null,
            'stream_type' => 'all',
        ];
  
        $types = [
            'stream_type' => ['all', 'playlist', 'live'],
        ];
  
        return $this->wrapper->request('GET', 'streams', ['query' => $this->resolveOptions($params, $defaults, [], $types)]);
    }
code: public function getStreams($params = [])
    {
        $defaults = [
            'game'        => null,
            'channel'     => null,
            'limit'       => 25,
            'offset'      => 0,
            'client_id'   => null,
            'stream_type' => 'all',
        ];
  
        $types = [
            'stream_type' => ['all', 'playlist', 'live'],
        ];
  
        return $this->wrapper->request('GET', 'streams', ['query' => $this->resolveOptions($params, $defaults, [], $types)]);
    }
code_tokens: public function getStreams ( $ params = [ ] ) { $ defaults = [ 'game' => null , 'channel' => null , 'limit' => 25 , 'offset' => 0 , 'client_id' => null , 'stream_type' => 'all' , ] ; $ types = [ 'stream_type' => [ 'all' , 'playlist' , 'live' ] , ] ; return $ this -> wrapper -> request ( 'GET' , 'streams' , [ 'query' => $ this -> resolveOptions ( $ params , $ defaults , [ ] , $ types ) ] ) ; }
docstring: Returns a list of stream objects that are queried by a number
  of parameters sorted by number of viewers descending.
  
  Learn more:
  https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md#get-streams
  
  @param  array $params Optional params
  
  @return array
docstring_tokens: Returns a list of stream objects that are queried by a number of parameters sorted by number of viewers descending .