import streamlit as st
from streamlit_gsheets import GSheetsConnection
conn = st.connection("gsheets", type=GSheetsConnection)
df = conn.read(ttl='60m')
st.dataframe(df)
I have tried the above code to get all the worksheets from the workbook, but only getting the first one. How to get all the worksheets?
I have tried researching about the gspread
package which is used by Streamlit, there is a method worksheet_list = sh.worksheets()
to get all the sheet names in the workbook. But dont know how to implement it here.