I followed all the steps here: https://developers.google.com/sheets/api/quickstart/python
It is supposed to get the data from the example sheet here: https://docs.goo