I referred to the following site. After completing each setting, I wrote gspread_simple.py which shown the site. https://qiita.com/164kondo/items/eec4d1d8fd7648217935