Google photos API


I think Google photos announced an API… That would be a useful endpoint… Wink wink


Here is a link to an article for those that are interested.


Oh my god, please! I have been waiting for an official API for a while. This is the only reason I have Backup and Sync installed. If rclone could replace it, that would be a godsend.


OH MY. This is the BEST NEWS. I have been using the stupid Picasa Web Albums API daily for like 5 years.

(If you’re curious why, it’s for this: - a little program I wrote that downloads your Google Photos.)


There is an issue about this:

If anyone would like to add useful links to that I’d be grateful!



I make my google photos appear in my drive which you only have to do once then I use rclone to back them up.


The docs can be found here.


But I think this way photos will use the Gdrive space, right? I think it would have to be through the API to enjoy unlimited space.


Yep. And I’ve also experienced some weirdness when I enable Photos in my Drive; so I just decided to turn it off.


I only ever read from the google photos and it has worked fine for that. I haven’t tried uploading photos though…


Very good news, not a minute too soon - Google Photo Uploader dies on the 14th!


I’ve used gphotosuploader with success, but that’s pretty rough.


I’ve tried that, but Google won’t put them all in that folder on my main account, on smaller accounts it works fine and puts them all in Year folders but my main one only has 160 photos out of 1000’s and they are all in the root Photos folder.

I’ve also looked through the new Google Photos API docs and it doesn’t look promising, I can’t find an option to retrieve the original photo. I think this new API isn’t really geared around backup and restore.

My Samsung phone embeds the live images into the JPEG container, this is stripped out when retrieving the photo by the API, the photo is 5.7MB raw and only 1.9MB when retrieved by the API, plus the API strips the Geo Location info and all the other EXIF info. Not impressed with it yet anyway :frowning:


I think this bit from upload media docs won’t please people either who were hoping for unlimited uploads

Note: All media items uploaded to Google Photos through the API are stored in full resolution at original quality. If your uploads exceed 25MB per user, your application should remind the user that these uploads will count towards storage in their Google Account.


Aw man :I That’s sad. Maaaaybe it’ll improve…


I mentioned previously in this thread that the Google Photos folder doesn’t work for one of my accounts, just in case anyone else has a similar issue I used Google Takeout to create an archive in zip format of my photos in Drive. It takes a while but appears to be working, if it doesn’t I will comment back here.