GoogleInfos Example Google
const googleAPI = require("getgoogleinfos");
// |------------------------------------------------------------------|
// |-----------------------------------------------------------------| |
// | | |-------------------------| | |
googleAPI("Example Query", "google", "search", (infos) => { // Searching for "Example Query" on Google
console.log(infos.name + "\n" + infos.description + "\n\n" + infos.link + " : The site is " + (infos.safe ? "safe" : "unsafe"));
});
no comments