Browse Source

add google spread sheet update

ming 3 năm trước cách đây
mục cha
commit
fc10cb30e3
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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()