DmitrMakeev
commited on
Update google,py
Browse files
google,py
CHANGED
@@ -23,12 +23,11 @@ def send_data_to_google_sheets(sheet_name):
|
|
23 |
]
|
24 |
|
25 |
# URL для отправки данных
|
26 |
-
url = f'https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}/values/
|
27 |
|
28 |
# Формирование тела запроса
|
29 |
data = {
|
30 |
-
|
31 |
-
"majorDimension": "ROWS",
|
32 |
"values": new_values
|
33 |
}
|
34 |
|
|
|
23 |
]
|
24 |
|
25 |
# URL для отправки данных
|
26 |
+
url = f'https://sheets.googleapis.com/v4/spreadsheets/{spreadsheet_id}/values/pH!A:E?valueInputOption=RAW&key={api_key_goo}'
|
27 |
|
28 |
# Формирование тела запроса
|
29 |
data = {
|
30 |
+
|
|
|
31 |
"values": new_values
|
32 |
}
|
33 |
|