reddit.redditors¶
-
class
praw.models.Redditors(reddit, _data)¶ Redditors is a Listing class that provides various Redditor lists.
-
__init__(reddit, _data)¶ Initialize a PRAWModel instance.
Parameters: reddit – An instance of Reddit.
-
new(**generator_kwargs)¶ Return a
ListingGeneratorfor new Redditors.:returns Redditor profiles, which are a type of
Subreddit.
-
classmethod
parse(data, reddit)¶ Return an instance of
clsfromdata.Parameters: - data – The structured data.
- reddit – An instance of
Reddit.
-
popular(**generator_kwargs)¶ Return a
ListingGeneratorfor popular Redditors.:returns Redditor profiles, which are a type of
Subreddit.
-
search(query, **generator_kwargs)¶ Return a
ListingGeneratorof Redditors forquery.Parameters: query – The query string to filter Redditors by. :returns
Redditors.
-
stream(**stream_options)¶ Yield new Redditors as they are created.
Redditors are yielded oldest first. Up to 100 historical Redditors will initially be returned.
Keyword arguments are passed to
stream_generator().:returns Redditor profiles, which are a type of
Subreddit.
-