Преглед на файлове

add google spread sheet update

ming преди 3 години
родител
ревизия
fc10cb30e3
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      api/main.py

+ 4 - 0
api/main.py

@@ -9,6 +9,10 @@ from fastapi.middleware.cors import CORSMiddleware
 import json
 import urllib.request
 import dataset,json
+import pandas as pd
+from gspread_pandas import Spread, Client
+from oauth2client.service_account import ServiceAccountCredentials
+import gspread
 
 app = FastAPI()