Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comments ¶
type Comments struct {
Data struct {
Children []struct {
Data InternalCommentData `json:"data"`
} `json:"children"`
} `json:"data"`
}
type InternalCommentData ¶
type InternalCommentData struct {
Replies any `json:"replies"`
Author string `json:"author"`
AuthorFlair string `json:"author_flair_text"`
Body string `json:"body"`
Permalink string `json:"permalink"`
VReplies []InternalCommentData
Depth float64 `json:"depth"`
Ups float64 `json:"ups"`
Created float64 `json:"created"`
}
type InternalMetaData ¶
type InternalVData ¶
MediaMetaData - Galleries
type Posts ¶
type Posts struct {
Data struct {
After string `json:"after"`
Children []struct {
Data internalPostData `json:"data"`
} `json:"children"`
} `json:"data"`
}
type Subreddit ¶
type Subreddit struct {
Data struct {
Title string `json:"title"`
PrimaryColor string `json:"primary_color"`
DisplayNamePrefixed string `json:"display_name_prefixed"`
Description string `json:"public_description"`
CommunityIcon string `json:"community_icon"`
Banner string `json:"banner_background_image"`
ActiveUserCount float64 `json:"accounts_active"`
MemberCount float64 `json:"subscribers"`
Created float64 `json:"created"`
NSFW bool `json:"over18"`
} `json:"data"`
}
The Subreddit and Posts themselves
Click to show internal directories.
Click to hide internal directories.