original_string: public function getTopGames($params = [])
    {
        $defaults = [
            'limit'  => 10,
            'offset' => 0,
        ];
  
        return $this->wrapper->request('GET', 'games/top', ['query' => $this->resolveOptions($params, $defaults)]);
    }
code: public function getTopGames($params = [])
    {
        $defaults = [
            'limit'  => 10,
            'offset' => 0,
        ];
  
        return $this->wrapper->request('GET', 'games/top', ['query' => $this->resolveOptions($params, $defaults)]);
    }
code_tokens: public function getTopGames ( $ params = [ ] ) { $ defaults = [ 'limit' => 10 , 'offset' => 0 , ] ; return $ this -> wrapper -> request ( 'GET' , 'games/top' , [ 'query' => $ this -> resolveOptions ( $ params , $ defaults ) ] ) ; }
docstring: Returns a list of games objects sorted by number of current viewers on Twitch, most popular first.
  
  Learn more:
  https://github.com/justintv/Twitch-API/blob/master/v3_resources/games.md#get-gamestop
  
  @param  array $params Optional parameters
  
  @return array
docstring_tokens: Returns a list of games objects sorted by number of current viewers on Twitch most popular first .