Documentation
¶
Overview ¶
Package social provides extraction of social media information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueSkyProfile ¶
type BlueSkyProfile struct {
Did string `json:"did"`
Handle string `json:"handle"`
DisplayName string `json:"displayName"`
Description string `json:"description"`
Avatar string `json:"avatar"`
Banner string `json:"banner"`
CreatedAt string `json:"createdAt"`
Labels []string `json:"labels"`
FollowersCount int `json:"followersCount"`
FollowingCount int `json:"followingCount"`
PostsCount int `json:"postsCount"`
}
BlueSkyProfile represents a BlueSky profile from the API.
type Content ¶
type Content struct {
Fields map[string]string
Kind string
URL string
Bio string
Markdown string
Location string
Name string
Username string
Joined string
Tags []string
}
Content represents structured content extracted from a social media profile or website.
type MastodonAccount ¶
type MastodonAccount struct {
ID string `json:"id"`
Username string `json:"username"`
Acct string `json:"acct"`
DisplayName string `json:"display_name"`
Note string `json:"note"` // Bio in HTML
URL string `json:"url"` // Profile URL
CreatedAt time.Time `json:"created_at"`
Fields []MastodonField `json:"fields"` // Custom profile fields
FollowersCount int `json:"followers_count"`
FollowingCount int `json:"following_count"`
StatusesCount int `json:"statuses_count"`
}
MastodonAccount represents the API response from Mastodon.
Click to show internal directories.
Click to hide internal directories.