How to append data in google sheet by my streamlit app

To append data to a Google Sheet using my Streamlit application, I have five fields in my Google Sheet. I would appreciate your guidance and a sample code for this process.