Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Photos API import all my photos

I've been reading more or less every StackOverflow question about Google Photos, and still I haven't figured out the answer.

I need, for my Rails app, to get the url of every single photo uploaded on Google Photos.

I can't use Picasa for a long term project, G Drive API does not find all the photos, G+ can't find all the photos

Please, help me find a solution O.o It can be Javascript-based, or curl-based, I'll translate it.

Thanks in advance!

UPDATE

I've found https://github.com/howdy39/google-picker-api-demo which lets me get all my photos inside an album. It's something, but I hope Google will release better Google Photos API soon. :)

like image 377
alagaesia Avatar asked May 16 '17 15:05

alagaesia


1 Answers

May 8, 2018: Good news! Google just have launched Google Photo API on Googel I/O

You can get list of all your media, including albums. Moreover, API allows you to upload and share media. At the moment it is in Developer Preview state and has quota limit:

During the developer preview, the quota for requests to the Google Photos Library API is 2,500 requests per project per day. Requests to access media bytes (like loading a photo or video) aren't counted against the limit.

like image 117
Andrey Kulikov Avatar answered Oct 31 '22 07:10

Andrey Kulikov