Documentation
¶
Index ¶
Constants ¶
View Source
const IG_URL_BASE = "https://www.instagram.com/api/v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowingResponse ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewInstagramRepository ¶
func NewInstagramRepository(httpClient shared.HTTPClient) *Repository
func (*Repository) GetFollowers ¶
func (r *Repository) GetFollowers() ([]User, error)
func (*Repository) GetFollowing ¶
func (r *Repository) GetFollowing() ([]User, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewInstagramService ¶
func NewInstagramService(igRepo Repository) *Service
func (*Service) CompareFollowingThatDoesntFollowBack ¶
func (s *Service) CompareFollowingThatDoesntFollowBack()
type User ¶
type User struct { HasAnonymousProfilePicture bool `json:"has_anonymous_profile_picture"` FbidV2 string `json:"fbid_v2"` TextPostAppJoinerNumber int `json:"text_post_app_joiner_number"` PK string `json:"pk"` PKID string `json:"pk_id"` Username string `json:"username"` FullName string `json:"full_name"` IsPrivate bool `json:"is_private"` IsVerified bool `json:"is_verified"` ProfilePicID string `json:"profile_pic_id"` ProfilePicURL string `json:"profile_pic_url"` AccountBadges []string `json:"account_badges"` IsPossibleScammer bool `json:"is_possible_scammer"` ThirdPartyDownloadsEnabled int `json:"third_party_downloads_enabled"` IsPossibleBadActor struct { IsPossibleScammer bool `json:"is_possible_scammer"` IsPossibleImpersonator struct { IsUnconnectedImpersonator bool `json:"is_unconnected_impersonator"` } `json:"is_possible_impersonator"` } `json:"is_possible_bad_actor"` LatestReelMedia int64 `json:"latest_reel_media"` IsFavorite bool `json:"is_favorite"` }
func FindUsersNotInFollowers ¶
Click to show internal directories.
Click to hide internal directories.