Closed chriszlr closed 1 year ago
fixed it,
googleTrends
.interestOverTime({ keyword: "Women's march" })
.then(function(results) {
const jsonResponse = JSON.parse(JSON.parse(JSON.stringify(results)));
// Do something with the `jsonResponse` object
res.status(200).json(jsonResponse);
})
.catch(function(err) {
console.error("Oh no there was an error", err);
});
AI isnt bad at all
when i execute this code:
I want the output to be in a readable JSON format, but instead i get something like this: