def get_top ( self , * args , * * kwargs ) : return self . get_content ( self . config [ 'top' ] , * args , * * kwargs )
python get top post form reddit
Return a get_content generator for top submissions .
def get_top(self, *args, **kwargs):
        """Return a get_content generator for top submissions.

        Corresponds to the submissions provided by
        ``https://www.reddit.com/top/`` for the session.

        The additional parameters are passed directly into
        :meth:`.get_content`. Note: the `url` parameter cannot be altered.

        """
        return self.get_content(self.config['top'], *args, **kwargs)