Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType int
const ( NoContentTypeSpecified ContentType = iota PhotosOnly ScreenShotsOnly OtherOnly PhotosAndScreenshots ScreenShotsAndOther PhotosAndOther All )
type GetPhotosOptionalArgs ¶
type GetPhotosOptionalArgs struct { SafeSearch SafetyLevel // optional, set to NoneSpecified to ignore MinUploadDate string // optional, set to "" to ignore. mysql datetime MaxUploadDate string // optional, set to "" to ignore. mysql datetime MinTakenDate string // optional, set to "" to ignore. mysql datetime MaxTakenDate string // optional, set to "" to ignore. mysql datetime ContentType ContentType // optional, set to NoneSpecified to ignore PrivacyFilter PrivacyFilterType // optional, set to NoneSpecified to ignore Extras string // optional, set to "" to ignore. comma separated string. PerPage int // 0 to ignore Page int // 0 to ignore }
type GetPhotosResponse ¶
type GetPhotosResponse struct { flickr.BasicResponse Photos Photos `xml:"photos"` }
func GetPhotos ¶
func GetPhotos(client *flickr.FlickrClient, userId string, opts GetPhotosOptionalArgs) (*GetPhotosResponse, error)
type Photo ¶
type Photo struct { DateTaken string `xml:"datetaken,attr"` DateUpload string `xml:"dateupload,attr"` Description string `xml:"description"` Geo string `xml:"geo,attr"` IconServer string `xml:"iconserver,attr"` Id string `xml:"id,attr"` IsFamily bool `xml:"isfamily,attr"` IsFriend bool `xml:"isfriend,attr"` IsPublic bool `xml:"ispublic,attr"` LastUpdate string `xml:"lastupdate,attr"` License string `xml:"license,attr"` MachineTags string `xml:"machine_tags,attr"` Media string `xml:"media,attr"` OriginalFormat string `xml:"originalformat,attr"` Owner string `xml:"owner,attr"` OwnerName string `xml:"ownername,attr"` PathAlias string `xml:"pathalias,attr"` Secret string `xml:"secret,attr"` Server string `xml:"server,attr"` Tags string `xml:"tags,attr"` Title string `xml:"title,attr"` URLC string `xml:"url_c,attr"` // medium 800 URLL string `xml:"url_l,attr"` // large URLM string `xml:"url_m,attr"` // medium 500 URLN string `xml:"url_n,attr"` // small URLO string `xml:"url_o,attr"` // URL of original size image URLQ string `xml:"url_q,attr"` // large square URLS string `xml:"url_s,attr"` // square URLSQ string `xml:"url_sq,attr"` // square URLT string `xml:"url_t,attr"` // thumbnail URLZ string `xml:"url_z,attr"` // medium 640 Views string `xml:"views,attr"` }
type PrivacyFilterType ¶
type PrivacyFilterType int
const ( NoPrivacyFilterSpecified PrivacyFilterType = iota Public Friends Family FriendsAndFamily Private )
type SafetyLevel ¶
type SafetyLevel int
const ( NoSafetySpecified SafetyLevel = iota Safe Moderate Restricted )
Click to show internal directories.
Click to hide internal directories.