Spaces:
Sleeping
Sleeping
Update src/google_sheet.py
Browse files- src/google_sheet.py +3 -0
src/google_sheet.py
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
# Google Sheets Integration
|
3 |
# ========================
|
4 |
|
|
|
|
|
|
|
5 |
def connect_to_sheet():
|
6 |
creds_dict = json.loads(os.environ["GOOGLE_CREDS_JSON"])
|
7 |
scope = [
|
|
|
2 |
# Google Sheets Integration
|
3 |
# ========================
|
4 |
|
5 |
+
import gspread
|
6 |
+
from oauth2client.service_account import ServiceAccountCredentials
|
7 |
+
|
8 |
def connect_to_sheet():
|
9 |
creds_dict = json.loads(os.environ["GOOGLE_CREDS_JSON"])
|
10 |
scope = [
|