我想用以下代码更新我的谷歌表:
import requests
snav_timetable_url = "https://statusinvest.com.br/acao/getearnings?IndiceCode=ibovespa&Filter=&Start=1991-12-31&End=2021-05-07"
r = requests.get(snav_timetable_url).json()
snav_timetable_data_cleaned = []
for datecom in r["dateCom"]:
print(f"{datecom['code']}\t{datecom['resultAbsoluteValue']}\t{datecom['dateCom']}\t{datecom['paymentDividend']}\t{datecom['earningType']}\t{datecom['dy']}\t{datecom['recentEvents']}\t{datecom['recentEvents']}\t{datecom['uRLClear']}")
这样地:https://docs.google.com/spreadsheets/d/e/2pacx-1vtnwn1ylkgv68vk1i8snb-sybktoxo5hh5p-jfcar3oxqlyqbb3740bu9rpblrne_w5y1iwf3dwqrcy/pubhtml
但我不知道怎么做。
有可能吗?
暂无答案!
目前还没有任何答案,快来回答吧!