We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4badb6a commit d81f19dCopy full SHA for d81f19d
flight-deals-start/data_manager.py
@@ -1,5 +1,18 @@
1
import requests
2
+import os
3
+from datetime import datetime
4
+
5
6
class DataManager:
- #This class is responsible for talking to the Google Sheet.
- pass
7
+ # This class is responsible for talking to the Google Sheet.
8
+ def __init__(self):
9
+ pass
10
11
+ def get_flights_from_google_sheet(self):
12
+ SHEETY_API_URL = "https://api.sheety.co/----------/workoutTracking/flights"
13
14
+ headers = {
15
+ 'Authorization': f'Basic ---------'
16
+ }
17
18
+ response = requests.post(SHEETY_API_URL, headers=headers)
0 commit comments