Created
April 1, 2024 22:46
-
-
Save kennyeliason/f38fd0fd958e662037207be3d1773508 to your computer and use it in GitHub Desktop.
Google Sheets Domain Finder FETCH Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FETCH(url1) { | |
var response = UrlFetchApp.fetch(url1); | |
var json = JSON.parse(response.getContentText()); | |
var output = []; | |
for (var i = 0; i < json.length; i++) { | |
var company = json[i]; | |
output.push(company.name); | |
output.push(company.domain); | |
output.push(company.logo); | |
} | |
return [output]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment