Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/sources/photo_source_google

Index

Variables

Const ALBUMS_QUERY

ALBUMS_QUERY: "?pageSize=50&fields=nextPageToken,albums(id,title,mediaItemsCount,coverPhotoBaseUrl)" = "?pageSize=50&fields=nextPageToken,albums(id,title,mediaItemsCount,coverPhotoBaseUrl)"

Query for list of albums

Const MEDIA_ITEMS_FIELDS

MEDIA_ITEMS_FIELDS: "fields=nextPageToken,mediaItems(id,productUrl,baseUrl,mimeType,mediaMetadata/width,mediaMetadata/height)" = "fields=nextPageToken,mediaItems(id,productUrl,baseUrl,mimeType,mediaMetadata/width,mediaMetadata/height)"

Only return stuff we use

Const MEDIA_ITEMS_RESULTS_FIELDS

MEDIA_ITEMS_RESULTS_FIELDS: string = 'fields=mediaItemResults(status/code,mediaItem/id,mediaItem/productUrl,' +'mediaItem/baseUrl,mediaItem/mimeType,mediaItem/mediaMetadata/width,' +'mediaItem/mediaMetadata/height)'

Only return stuff we use

Const URL_BASE

URL_BASE: "https://photoslibrary.googleapis.com/v1/" = "https://photoslibrary.googleapis.com/v1/"

Path to Google Photos API

Generated using TypeDoc