Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 258
Merc Avatar asked Sep 07 '25 00:09

Merc


1 Answers

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.

like image 117
Tim Chen Avatar answered Sep 11 '25 05:09

Tim Chen