(20250704) - Created Oauth Authentication for google places api with all files
This commit is contained in:
@@ -131,6 +131,10 @@ SCOPES_GMAIL_FULL = [
|
||||
|
||||
class AsyncGmailClient(AsyncGoogleBase):
|
||||
|
||||
# ┳┳ ┏┓ ┏•┓
|
||||
# ┃┃┏┏┓┏┓ ┃┃┏┓┏┓╋┓┃┏┓
|
||||
# ┗┛┛┗ ┛ ┣┛┛ ┗┛┛┗┗┗
|
||||
|
||||
async def get_user_profile(
|
||||
self,
|
||||
tokens: GoogleAuthTokens,
|
||||
@@ -138,7 +142,7 @@ class AsyncGmailClient(AsyncGoogleBase):
|
||||
) -> GoogleApiResponse:
|
||||
|
||||
"""
|
||||
To get the list of labels of this user.
|
||||
To get the details of the user that has logged in.
|
||||
DOCUMENTATION:
|
||||
1. https://developers.google.com/gmail/api/reference/rest/v1/users/getProfile
|
||||
2. https://developers.google.com/people/api/rest/v1/people/get
|
||||
|
||||
Reference in New Issue
Block a user