Last active
September 15, 2022 04:31
-
-
Save miftahafina/4d781edd256b0fc42c7f835bbdb6402c to your computer and use it in GitHub Desktop.
Random Jokes Bapack2 on your gsheet
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 joke() { | |
let result = UrlFetchApp.fetch("https://jokes-bapack2-api.yuana.id/v1/text/random").getContentText(); | |
let data = JSON.parse(result); | |
return data["data"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment