Spaces:
Running
Running
James McCool commited on
Commit ·
c00cd0d
1
Parent(s): 04a6c8e
adding another source for NCAAF SR_ID write
Browse files
app.py
CHANGED
|
@@ -725,11 +725,21 @@ with tab3:
|
|
| 725 |
worksheet.update([ncaaf_df.columns.values.tolist()] + ncaaf_df.values.tolist())
|
| 726 |
st.write("Updated NCAAF SR IDs in Draft Guide Staging")
|
| 727 |
|
|
|
|
|
|
|
| 728 |
sh = gc.open_by_url('https://docs.google.com/spreadsheets/d/1GorpLF-VuArINnxHtMjgD5shTX4CoaSwvwyX953TsmY/edit?gid=1787051805#gid=1787051805')
|
| 729 |
worksheet = sh.worksheet('NCAAF_SR_IDs')
|
| 730 |
worksheet.batch_clear(['A:H'])
|
| 731 |
worksheet.update([ncaaf_df.columns.values.tolist()] + ncaaf_df.values.tolist())
|
| 732 |
-
st.write("Updated NCAAF SR IDs in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 733 |
|
| 734 |
|
| 735 |
|
|
|
|
| 725 |
worksheet.update([ncaaf_df.columns.values.tolist()] + ncaaf_df.values.tolist())
|
| 726 |
st.write("Updated NCAAF SR IDs in Draft Guide Staging")
|
| 727 |
|
| 728 |
+
time.sleep(3)
|
| 729 |
+
|
| 730 |
sh = gc.open_by_url('https://docs.google.com/spreadsheets/d/1GorpLF-VuArINnxHtMjgD5shTX4CoaSwvwyX953TsmY/edit?gid=1787051805#gid=1787051805')
|
| 731 |
worksheet = sh.worksheet('NCAAF_SR_IDs')
|
| 732 |
worksheet.batch_clear(['A:H'])
|
| 733 |
worksheet.update([ncaaf_df.columns.values.tolist()] + ncaaf_df.values.tolist())
|
| 734 |
+
st.write("Updated NCAAF SR IDs in FantasyLife API Hub")
|
| 735 |
+
|
| 736 |
+
time.sleep(3)
|
| 737 |
+
|
| 738 |
+
sh = gc.open_by_url('https://docs.google.com/spreadsheets/d/1ZP07J6jkbRHdafrfVJSJW7pR07gqh_Oe7cBDCwXWb1A/edit?gid=1881441992#gid=1881441992')
|
| 739 |
+
worksheet = sh.worksheet('NCAAF_SR_IDs')
|
| 740 |
+
worksheet.batch_clear(['A:H'])
|
| 741 |
+
worksheet.update([ncaaf_df.columns.values.tolist()] + ncaaf_df.values.tolist())
|
| 742 |
+
st.write("Updated NCAAF SR IDs in Rankings Admin")
|
| 743 |
|
| 744 |
|
| 745 |
|