ido-ran / google-photos-api-python-quickstart

Quickstart example of how to use Google Photos API with Python
Apache License 2.0
38 stars 12 forks source link

Scope photoslibrary.readonly will be removed from the Library API after March 31, 2025 - Google Photos Picker API should be used instead. #8

Open WilfriedBl opened 4 days ago

WilfriedBl commented 4 days ago

According to the announcement of Google Posted September 2024, the scope photoslibrary.readonly will be removed from the Library API after March 31, 2025. Google says: "If your app needs users to select photos or albums from their entire library, use the new Google Photos Picker API." So, if I understood correctly, after March 2025, google-photos-api-python-quickstart won't work anymore. Did anybody successfully implement it yet using the Google Photos Picker API? Thanks Wilfried

ido-ran commented 2 days ago

Hi @WilfriedBl, I saw the announcement - I'm not sure yet how to use the new APIs. I'll update as soon as I'll be able.

WilfriedBl commented 2 days ago

Thanks for the quick response @ido-ran . I tried a quick and dirty way to call the picker API but with no success so far and getting a "googleapiclient.errors.HttpError: <HttpError 403 when requesting https://photospicker.googleapis.com/v1/sessions?alt=json returned "Request had insufficient authentication scopes." Crossing my fingers.