Google photos API


#1

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


#2

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


#3

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.


#4

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: https://github.com/mholt/photobak - a little program I wrote that downloads your Google Photos.)


#5

There is an issue about this: https://github.com/ncw/rclone/issues/369

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


#6

Nice!

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


#7

The docs can be found here.


#8

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.


#9

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


#10

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


#11

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


#12

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


#13

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:


#14

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.


#15

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


#16

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. https://takeout.google.com It takes a while but appears to be working, if it doesn’t I will comment back here.