Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllPostCode ¶
Given user name, return codes of all posts of the user.
Types ¶
type RawUserResp ¶
type RawUserResp struct {
User UserInfo `json:"user"`
}
used to decode the JSON data
type UserInfo ¶
type UserInfo struct { Biography string `json:"biography"` ExternalUrl string `json:"external_url"` FullName string `json:"full_name"` Id string `json:"id"` IsPrivate bool `json:"is_private"` ProfilePicUrlHd string `json:"profile_pic_url_hd"` Username string `json:"username"` Media struct { Nodes []MediaNode `json:"nodes"` Count int64 `json:"count"` PageInfo struct { HasNextPage bool `json:"has_next_page"` EndCursor string `json:"end_cursor"` } `json:"page_info"` } `json:"media"` }
You can add more fields in the struct to get more information See response/types.go in github.com/ahmdrz/goinsta
Click to show internal directories.
Click to hide internal directories.