AnnouncementListing¶
- class praw.models.AnnouncementListing(reddit, _data)¶
Special
Listingfor handlingAnnouncementlists.The announcements endpoint wraps results in
{"after", "before", "data"}instead of the standardListingenvelope, with each child as a raw dict rather than a{"kind": "ann", "data": {...}}wrapper.- Parameters:
reddit (praw.Reddit)
- __getitem__(index)¶
Return the item at position index in the list.