Merc
Merc

Reputation: 17057

Find out which album(s) a photo is in in Google Photos API

I am using the Google Photo API, https://developers.google.com/photos/library/reference/rest I am using get successfully to get information about a media (a photo). However, I really really need to know WHICH albums the photo is in (it cam be multiple).

Is there any way to do this? Am I missing something?

Upvotes: 4

Views: 646

Answers (1)

Tim  Chen
Tim Chen

Reputation: 36

You can get all albums first and then get photos through https://developers.google.com/photos/library/reference/rest/v1/mediaItems/search by adding the parameter of albumId.

Upvotes: 2

Related Questions