instafollower

package
v0.0.0-...-3444db6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	User User `json:"user"`
}

type EdgeFollow

type EdgeFollow struct {
	PageInfo PageInfo    `json:"page_info"`
	Edges    []EdgesNode `json:"edges"`
}

type EdgesNode

type EdgesNode struct {
	Node EdgesNodeContent `json:"node"`
}

type EdgesNodeContent

type EdgesNodeContent struct {
	ID                string `json:"id"`
	UserName          string `json:"username"`
	FullName          string `json:"full_name"`
	ProfilePicURL     string `json:"profile_pic_url"`
	IsPrivate         bool   `json:"is_private"`
	IsVerified        bool   `json:"is_verified"`
	FollowedByViewer  bool   `json:"followed_by_viewer"`
	RequestedByViewer bool   `json:"requested_by_viewer"`
}

type PageInfo

type PageInfo struct {
	HasNextPage bool   `json:"has_next_page"`
	EndCursor   string `json:"end_cursor"`
}

type Response

type Response struct {
	Data   Data   `json:"data"`
	Status string `json:"status"`
}

func GetResponse

func GetResponse(id, queryhash string, first int, after string, ic *instaclient.InstaClient) (Response, error)

type User

type User struct {
	EdgeFollow EdgeFollow `json:"edge_follow"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL