instatag

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 CaptionEdges

type CaptionEdges struct {
	Node CaptionNode `json:"node"`
}

type CaptionNode

type CaptionNode struct {
	Text string `json:"text"`
}

type ChildrenEdge

type ChildrenEdge struct {
	Node ChildrenNode `json:"node"`
}

type ChildrenNode

type ChildrenNode struct {
	ID         string     `json:"id"`
	EmtCaption EmtCaption `json:"edge_media_to_caption"`
	DisplayURL string     `json:"display_url"`
	IsVideo    bool       `json:"is_video"`
	VideoURL   string     `json:"video_url"`
}

type Data

type Data struct {
	Hashtag Hashtag `json:"hashtag"`
}

type EhtMedia

type EhtMedia struct {
	PageInfo PageInfo    `json:"page_info"`
	Edges    []MediaEdge `json:"edges"`
}

EhtMedia edge_hashtag_to_media

type EmtCaption

type EmtCaption struct {
	Edges []CaptionEdges `json:"edges"`
}

EmtCaption edge_media_to_caption

type EstChildren

type EstChildren struct {
	Edges []ChildrenEdge `json:"edges"`
}

EstChildren edge_sidecar_to_children

type Hashtag

type Hashtag struct {
	ID       string   `json:"id"`
	Name     string   `json:"name"`
	EhtMedia EhtMedia `json:"edge_hashtag_to_media"`
}

type MediaEdge

type MediaEdge struct {
	Node MediaNode `json:"node"`
}

type MediaNode

type MediaNode struct {
	ID          string      `json:"id"`
	EmtCaption  EmtCaption  `json:"edge_media_to_caption"`
	DisplayURL  string      `json:"display_url"`
	IsVideo     bool        `json:"is_video"`
	VideoURL    string      `json:"video_url"`
	Owner       Owner       `json:"owner"`
	EstChildren EstChildren `json:"edge_sidecar_to_children"`
}

type Owner

type Owner struct {
	ID string `json:"id"`
}

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(tagname, queryhash string, first int, after string, ic *instaclient.InstaClient) (Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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