instapostpage

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChildrenEdge

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

type ChildrenNode

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

type EntryData

type EntryData struct {
	PostPage []PostPage `json:"PostPage"`
}

type EstChildren

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

EstChildren edge_sidecar_to_children

type GraphQL

type GraphQL struct {
	ShortcodeMedia ShortcodeMedia `json:"shortcode_media"`
}

type PostPage

type PostPage struct {
	GraphQL GraphQL `json:"graphql"`
}

type Response

type Response struct {
	EntryData   EntryData `json:"entry_data"`
	RolloutHash string    `json:"rollout_hash"`
}

func GetResponse

func GetResponse(id string, ic *instaclient.InstaClient) (Response, error)

type ShortcodeMedia

type ShortcodeMedia struct {
	ID          string      `json:"id"`
	DisplayURL  string      `json:"display_url"`
	IsVideo     bool        `json:"is_video"`
	VideoURL    string      `json:"video_url"`
	EstChildren EstChildren `json:"edge_sidecar_to_children"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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