importjson

Parsing JSON in Google Sheets

房东的猫 提交于 2019-12-24 05:26:04
问题 I'm working with JSON for the first time, so please excuse my lack of knowledge. I'm trying to use a JSON file to populate data in a Google Sheet. I just don't know the right syntax. How can I format a JSON function to properly access the data and stop returning an error? I'm trying to pull data from here: https://eddb.io/archive/v6/bodies_recently.jsonl into a Google Sheets. I've got the ImportJSON script loaded and I've tested it with a really small JSON file (http://date.jsontest.com/) and

How do I make Google Sheets refresh every 60 seconds?

邮差的信 提交于 2019-12-11 01:13:55
问题 I have an ImportJSON script in my Google Sheets retrieved from here. Now I have code: =ImportJSON("http://date.jsontest.com/","/time", "") which simply retrieves the time right now. My issue is that it does not refresh automatically. How do I make it refresh every 60 seconds? 回答1: I use a refresh script with the google apps script. First you need to generate a random number to trick it into thinking its a new link. var min = Math.ceil(0); var max = Math.floor(99); var randomNum = Math.floor