I'm using this Google App script
// Reference: https://www.labnol.org/code/20068-blogger-api-with-google-apps-script
function bloggerAPI() {
var api = "https://www.googleapis.com/blogger/v3/users/self/blogs";
var headers = {
"Authorization": "Bearer " + getService().getAccessToken()
};
var options = {
"headers": headers,
"method" : "GET",
"muteHttpExceptions": true
};
var response = UrlFetchApp.fetch(api, options);
var json = JSON.parse(response.getContentText());
for (var i in json.items) {
Logger.log("[%s] %s %s", json.items[i].id, json.items[i].name, json.items[i].url);
}
}
How can I import the values that are in the Logger.log into my sheet.
Logger.getLogs
and the normal practice of writing data to the spreadsheet... – tehhowch