redditwarp.models.moderated_subreddit#
- class redditwarp.models.moderated_subreddit.ModeratedSubreddit(d: Mapping[str, Any])[source]#
Bases:
DatamementoPropertiesMixin- d: Mapping[str, Any]#
- id36: str#
The ID of the subreddit as a base 36 number.
- idn: int#
The subreddit ID.
- name: str#
The name of the subreddit.
- openness: str#
Either:
public,private,restricted,archived,employees_only,gold_only,gold_restricted, oruser.
- created_ut: int#
If a normal subreddit, the unix timestamp of when the subreddit was created.
If a user subreddit, the value is
-1.Use
self.openness == 'user'to tell if a subreddit is a user subreddit.
- created_at: datetime#
If a normal subreddit, a datetime object of when the subreddit was created.
If a user subreddit, the value is
datetime.min.Use
self.openness == 'user'to tell if a subreddit is a user subreddit.
- title: str#
- subscriber_count: int#
- nsfw: bool#
- icon_img: str#