Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgeMedia ¶
type EdgeMedia struct { Typename string `json:"__typename"` Shortcode string `json:"shortcode"` Dimensions struct { Height int64 `json:"height"` Width int64 `json:"width"` } `json:"dimensions"` DisplayUrl string `json:"display_url"` DisplayResources []struct { Src string `json:"src"` ConfigWidth int64 `json:"config_width"` ConfigHeight int64 `json:"config_height"` } `json:"display_resources"` VideoUrl string `json:"video_url"` IsVideo bool `json:"is_video"` TakenAtTimestamp int64 `json:"taken_at_timestamp"` Location struct { Id string `json:"id"` HasPublicPage bool `json:"has_public_page"` Name string `json:"name"` Slug string `json:"slug"` } `json:"location"` EdgeSidecarToChildren struct { Edges []struct { Node EdgeMedia `json:"node"` } `json:"edges"` } `json:"edge_sidecar_to_children"` }
func GetPostInfo ¶
Given code of post, return information of the post.
Click to show internal directories.
Click to hide internal directories.