These forums have been archived and are now read-only.
The new forums are live and can be found at https://forums.eveonline.com/
[Q] Googlesheets and Googlescript coding issue.
function loadwallet(){ var wallet= new Array(); var url (Insert EVEAPI Call Here.) var parameters = {method : "get", payload : ""}; var xmlFeed = UrlFetchApp.fetch(url, parameters).getContentText(); var xml = XmlService.parse(xmlFeed); if(xml) { var rows=xml.getRootElement().getChild("result").getChild("rowset").getChildren("row"); for(var i = 0; i < rows.length; i++) { walletinfo=[rows[i].getAttribute("date").getValue(), rows[i].getAttribute("refID").getValue(), rows[i].getAttribute("refTypeID").getValue(), rows[i].getAttribute("ownerName1").getValue(), rows[i].getAttribute("ownerID1").getValue(), rows[i].getAttribute("ownerName2").getValue(), rows[i].getAttribute("ownerID2").getValue(), rows[i].getAttribute("argName1").getValue(), rows[i].getAttribute("argID1").getValue(), rows[i].getAttribute("amount").getValue(), rows[i].getAttribute("balance").getValue(), rows[i].getAttribute("reason").getValue(), rows[i].getAttribute("owner1TypeID").getValue(), rows[i].getAttribute("owner2TypeID").getValue(), ] wallet.push(walletinfo); } } return wallet;}
Please fix wormhole combat sites: c1 20mil - c2 40 mil - c3 80 mil - c4 160 mil - c5 320 mil - c6 640 mil