According to Google API Client Libraries page it is possible to access the Google Photos API using the python client library, but after installing it using pip install -t
I didn't find any example so I took the Drive API v3 example and adapted it to Photos v1 API.
You can see and use the example.
The gist is:
from apiclient.discovery import build
service = build('photoslibrary', 'v1', http=creds.authorize(Http()))
results = service.albums().list(
pageSize=10, fields="nextPageToken,albums(id,title)").execute()