yomomma-apiv2
yomomma-apiv2 copied to clipboard
API returns application error
Your API isn't working and is returning an error when i make a request.
Would help if you could fix, thanks ;)
Can you check again, it works for us.
There seems to be an issue with the api. I'm getting the same error as the user above. It's been down since the 25th of September.
There seems to be an issue with the api. I'm getting the same error as the user above. It's been down since the 25th of September.
Hey there @dd900, Due to the API being unstable, I created an offline version that just parses the jokes.json file. Here is some example code if you're interested.
Make sure you download jokes.json from the repo
const mumjokes = require('./jokes.json')
let mumjoke = mumjokes[Math.floor(Math.random() * mumjokes.length)]
console.log(mumjoke)