package models type XResponse struct { Username string `json:"username,omitempty"` PreviousUsernames []UserHistory `json:"previous_usernames,omitempty"` Query string `json:"query,omitempty"` Response string `json:"response,omitempty"` Data interface{} `json:"data,omitempty"` Credits struct { Remaining int `json:"remaining"` Unlimited bool `json:"unlimited"` } `json:"credits"` Message string `json:"message,omitempty"` Error string `json:"error,omitempty"` } type UserHistory struct { Username string `json:"username"` TimeAgo string `json:"time_ago"` } type TweetResult struct { Handle string `json:"handle"` Name string `json:"name"` Text string `json:"text"` TweetID string `json:"tweet_id"` Type string `json:"type"` URL string `json:"url"` } type Progress struct { Current int `json:"current"` Total int `json:"total"` } type Complete struct { Duration string `json:"duration"` FailedIDs []string `json:"failed_ids"` TotalFailed int `json:"total_failed"` TotalFetched int `json:"total_fetched"` } type TweetsStreamResponse struct { Username string `json:"username,omitempty"` Tweet *TweetResult `json:"tweet,omitempty"` Progress *Progress `json:"progress,omitempty"` Complete *Complete `json:"complete,omitempty"` Error string `json:"error,omitempty"` } type FirstFollower struct { Number int `json:"number"` Username string `json:"username"` Name string `json:"name"` } type FirstFollowersResponse struct { Username string `json:"username"` Followers []FirstFollower `json:"followers"` Credits struct { Remaining int `json:"remaining"` Unlimited bool `json:"unlimited"` } `json:"credits"` } type NotableFollower struct { Username string `json:"username"` FollowerCount string `json:"follower_count"` Score float64 `json:"score"` } type NotableFollowersResponse struct { Username string `json:"username"` Followers []NotableFollower `json:"followers"` Credits struct { Remaining int `json:"remaining"` Unlimited bool `json:"unlimited"` } `json:"credits"` } type ScrapedReply struct { ConversationID string `json:"conversation_id"` Date string `json:"date"` ID string `json:"id"` InReplyToID string `json:"in_reply_to_id"` Languages string `json:"languages"` Likes string `json:"likes"` Name string `json:"name"` Post string `json:"post"` Quotes string `json:"quotes"` Reposts string `json:"reposts"` Type string `json:"type"` URL string `json:"url"` Username string `json:"username"` } type ScrapedTweet struct { Date string `json:"date"` ID string `json:"id"` Languages string `json:"languages"` Likes string `json:"likes"` Name string `json:"name"` Post string `json:"post"` Quotes string `json:"quotes"` Reposts string `json:"reposts"` Type string `json:"type"` URL string `json:"url"` }