Open WilfriedBl opened 2 months ago
My understanding is that Google will stop providing the ability to list album content and download them.
You will either be able to list albums created by your application using photoslibrary.readonly.appcreatedata
- which is not what you want.
Google Photos Picker API are (as much as I understand) a way for applications and services to integrate with Google Photos and allow the user to select specific photos and videos they would like to share with that app/service.
This example simulate a desktop app (implemented as python script) which uses the Picker API. After creating a session it get back the pickerUri
which should be open in a browser, the user can then select which photos/videos they would like to share. That is why you see all your library.
One a selection has been complete this example continue to list the media items that were selected and download them.
First thanks a lot for creating this sample @ido-ran ! It does what it is supposed to do, as far as I can tell. However, when I open one of the pickerUri in a browser, it shows all my most recently via Google Drive uploaded photos, along with the message: "The other app or service can only access and save photos and videos that you add here". Sounds a bit strange since the Picker API cannot even add any media or am I missing something? Anyway, I am currently using the photoslibrary.readonly API to download a list of my albums and can request for each album a list of the photos in that album. Since Google's announcement said "... Google Photos Picker API should be used instead.", I was hoping the picker also gives me some way to get the information about albums and the contained photos, but so far, it doesn't seem to be possible. Any ideas?