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

Disable static discovery in API builder #7

Closed timgilbert closed 6 months ago

timgilbert commented 6 months ago

I imagine due to behind-the-scenes shenanigans at Google, this flag now needs to be passed to the discovery builder in order to access the Photos API.

I found my code would die with this error until I added this:

Traceback (most recent call last):
[...]
googleapiclient.errors.UnknownApiNameOrVersion: name: photoslibrary  version: v1

Searching around I found this StackOverflow answer which fixed the problem.

ido-ran commented 6 months ago

Thank you