auto-worker.com
function myFunction() {
const url = "https://mls.js2hgw.com/update.php?base_enb=737280&output=json";
let response = UrlFetchApp.fetch(url).getContentText();
let json = JSON.parse(response);
const headers = Object.keys(json[0]);
const body = json.map((row) => {
return headers.map((key) => row[key] || "");
});
const table = [headers].concat(body);
const spreadSheet = SpreadsheetApp.getActiveSpreadsheet();
const sheet = spreadSheet.getActiveSheet();
sheet.getRange(1, 1, table.length, table[0].length).setValues(table);
}