Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for interacting with google photos api.
func (*Client) DownloadMedia ¶
DownloadMedia - todo
type GPhoto ¶
type GPhoto struct { ID string `json:"id"` ProductURL string `json:"productUrl"` BaseURL string `json:"BaseUrl"` MimeType string `json:"MimeType"` MediaMetaData gMediaMetaData `json:"mediaMetadata,omitempty"` Filename string `json:"filename"` }
GPhoto google photo details
type GPhotos ¶
type GPhotos struct { MediaItems []GPhoto `json:"mediaItems"` NextPageToken string `json:"nextPageToken"` }
GPhotos list of photos and other meta data
type GphotoDate ¶
GphotoDate date format for searching
type GphotoDateFilter ¶
type GphotoDateFilter struct { Dates []GphotoDate `json:"dates,omitempty"` Ranges []string `json:"ranges,omitempty"` }
GphotoDateFilter date filter
type GphotoFilters ¶
type GphotoFilters struct { DateFilter GphotoDateFilter `json:"dateFilter,omitempty"` ContentFilter interface{} `json:"contentFilter,omitempty"` MediaTypeFilter interface{} `json:"mediaTypeFilter,omitempty"` FeatureFilter interface{} `json:"featureFilter,omitempty"` IncludeArchivedMedia bool `json:"includeArchivedMedia,omitempty"` ExcludeNonAppCreatedData bool `json:"excludeNonAppCreatedData,omitempty"` }
GphotoFilters filters test
Click to show internal directories.
Click to hide internal directories.