google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

Quickstart.py take 2-3 minutes to execute

Open OshidaBCF opened this issue 2 years ago • 0 comments

Quickstart.py script take aroudn 2-3 minutes to execute the default code on the readonly sheet given, testing each command one by one shown that the ".execute" on result = sheet.values().get(spreadsheetId=SAMPLE_SPREADSHEET_ID, range=SAMPLE_RANGE_NAME).execute() took 170 seconds to execute.

I have good internet an pc and opening the sheet on internet doesn't take 4 minutes so i don't know what's wrong

Environment details

  • OS type and version: Windows 10.0.19045 Build 19045
  • Python version: 3.9.13
  • pip version: 23.1.2
  • google-api-python-client version: 1.7.9

Steps to reproduce

  1. Follow those steps : https://developers.google.com/sheets/api/quickstart/python
  2. Try to run code

OshidaBCF avatar Jun 06 '23 15:06 OshidaBCF