Google Calendar API 를 조, , , . OAuth 2.0 린 근.
pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
cd /Users/andrew/.openclaw/workspace/google-calendar
python3 scripts/oauth_setup.py
첫 리고 Google 그 .
:
기 조:
:
경:
취:
from scripts.oauth_setup import list_calendars
calendars = list_calendars()
for cal in calendars:
print(f"{cal['summary']} - {cal['accessRole']}")
~/.google-calendar-token.pickle ~/.google-credentials.json .gitignore https://www.googleapis.com/auth/calendar (기/기 체 근)"OAuth " :
client_secret_XXXXXX.json ~/.google-credentials.json 복:
rm ~/.google-calendar-token.pickle:
共 1 个版本