* Add Google Photos integration * Mark credentials typing * Add code review suggestions to simpilfy google_photos * Update tests/components/google_photos/conftest.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Apply suggestions from code review Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Fix comment typo * Update test fixtures from review feedback * Remove unnecessary test for services * Remove keyword argument --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
10 lines
335 B
Python
10 lines
335 B
Python
"""Constants for the Google Photos integration."""
|
|
|
|
DOMAIN = "google_photos"
|
|
|
|
OAUTH2_AUTHORIZE = "https://accounts.google.com/o/oauth2/v2/auth"
|
|
OAUTH2_TOKEN = "https://oauth2.googleapis.com/token"
|
|
OAUTH2_SCOPES = [
|
|
"https://www.googleapis.com/auth/photoslibrary.readonly",
|
|
"https://www.googleapis.com/auth/userinfo.profile",
|
|
]
|