def printit():
threading.Timer(10.0, printit).start()
newIDS = wks.acell('A2').value
inProgIDS = wks.acell('B2').value
completedIDS = wks.acell('C2').value
ticketData = {
"newIDS" : newIDS,
"inProgIDS" : inProgIDS,
"completedIDS" : completedIDS,
}
with open('ids.json', 'w') as url_file:
json.dump(ticketData, url_file)
printit()我每10秒用GSpread点击Google,从3个单元格中得到一些值。这说明我已经超过了我的配额,但是当我转到配额页面时,它显示的使用率是17%。
gspread.exceptions.APIError:{'code':429,'message':“配额指标‘读取请求’超过配额,并限制‘每个用户每分钟读取请求’的消费者‘项目编号:206671335281’。”,“状态”:‘资源耗尽’,‘详细信息’:{'@type':{‘@type’:{‘type.googlevis.com/google.rpc.ErrorInfo’,‘理由’:‘RATE_ limit _RESOURCE’,‘域’:‘googlevis.com’,“元数据”:{“配额_限制”:“ReadRequestsPerMinutePerUser”、“配额_度量”:“Sheets.googlevis.com/read_requests”、“service”:“sheets.googlevis.com”、“使用者”:“projects/20}}”
https://stackoverflow.com/questions/70808151
复制相似问题