Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicMetrics ¶
type PublicMetrics struct { FollowersCount int `json:"followers_count"` FollowingCount int `json:"following_count"` TweetCount int `json:"tweet_count"` LikeCount int `json:"like_count"` }
PublicMetrics represents the structure for public metrics in the X API response
type User ¶
type User struct { ID string `json:"id"` Username string `json:"username"` Name string `json:"name"` Description string `json:"description"` ProfileImageUrl string `json:"profile_image_url"` VerifiedType string `json:"verified_type"` PublicMetrics PublicMetrics `json:"public_metrics"` }
User represents the structure for a user in the X API response
Click to show internal directories.
Click to hide internal directories.