Google Photos
1. Google Photo API
https://developers.google.com/photos/library/reference/rest/v1/mediaItems
Explore the API: https://developers.google.com/photos/library/reference/rest/v1/mediaItems/search
2. Google API Client Libraries
Access Google APIs more easily
https://developers.google.com/api-client-library/
3. Google Cloud: Photo APIs & Services.
Create Web Client for OAuth 2.0 Client
https://console.developers.google.com/apis/dashboard?project=u4u-project&pli=1
4. Authentication and authorization Scopes
https://developers.google.com/photos/library/guides/authentication-authorization
Library API overview
https://developers.google.com/photos/library/guides/overview
Apps with access to your account
https://myaccount.google.com/permissions?utm_source=google-account&utm_medium=web&pli=1
Google Photos Api
Python Quickstart
https://github.com/ido-ran/google-photos-api-python-quickstart
Diagrams:
OAuth 2.0 Cheat Sheet | Authorization Code Grant
{
"url": "https://accounts.google.com/o/oauth2/v2/auth?response_type=code&client_id=1036361587373-voq4geq458erp825c535unu3t3imsr8j.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fdevelop.u4u.online%2Fauth%2Fgoogle%2F&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&state=GeUCirm8HEjG8lWCiWiZGw7tnNDAiY"
}
response_type=code
client_id=1036361587373-voq4geq458erp825c535unu3t3imsr8j.apps.googleusercontent.com
redirect_uri=https%3A%2F%2Fdevelop.u4u.online%2Fauth%2Fgoogle%2F
scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email \+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile\
state=GeUCirm8HEjG8lWCiWiZGw7tnNDAiY
After Decode from URL encoded format https://www.urldecoder.org/
response_type=code
client_id=1036361587373-voq4geq458erp825c535unu3t3imsr8j.apps.googleusercontent.comredi
rect_uri=https://develop.u4u.online/auth/google/
scope=https://www.googleapis.com/auth/userinfo.email\+https://www.googleapis.com/auth/userinfo.profile
state=GeUCirm8HEjG8lWCiWiZGw7tnNDAiY
302 GET /auth/google/?state=NNv2yxO8atc09NgaR3VEV1CffmIiqR&code=4%2FqgEul9-VKJcwmID9XlbEJ-3Dw0rFuqZ28WvXf68BN00_T_wyUEcAdJ7jH_IFuQZQSLghEJfuQeP97plZdShgBS0&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&session_state=24b7eb90acf08decb5123a02e20da9840f328ff1..f1fe&prompt=consent (10.0.17.126) 312.39ms
302 GET /auth/google/?
state=NNv2yxO8atc09NgaR3VEV1CffmIiqR&code=4%2FqgEul9-VKJcwmID9XlbEJ-3Dw0rFuqZ28WvXf68BN00_T_wyUEcAdJ7jH_IFuQZQSLghEJfuQeP97plZdShgBS0&
scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&
authuser=0&
session_state=24b7eb90acf08decb5123a02e20da9840f328ff1..f1fe&
prompt=consent (10.0.17.126) 312.39ms