Andrew Moffat commited on
Commit
808c75d
·
1 Parent(s): 3f31616
Files changed (2) hide show
  1. google_oauth.py +3 -2
  2. requirements.txt +1 -0
google_oauth.py CHANGED
@@ -1,12 +1,13 @@
1
  import json
2
- import os
3
 
4
  import streamlit as st
5
  from google_auth_oauthlib.flow import Flow
6
 
7
  SCOPES = [
8
- "https://www.googleapis.com/auth/calendar.events.readonly",
9
  "https://www.googleapis.com/auth/calendar.readonly",
 
 
10
  ]
11
 
12
 
 
1
  import json
 
2
 
3
  import streamlit as st
4
  from google_auth_oauthlib.flow import Flow
5
 
6
  SCOPES = [
7
+ # lets us see all the calendars that the user can see
8
  "https://www.googleapis.com/auth/calendar.readonly",
9
+ # lets us read the details of the events in a calendar
10
+ "https://www.googleapis.com/auth/calendar.events.readonly",
11
  ]
12
 
13
 
requirements.txt CHANGED
@@ -1,2 +1,3 @@
 
1
  google-auth-oauthlib
2
  google-api-python-client
 
1
+ openai
2
  google-auth-oauthlib
3
  google-api-python-client