yomomma-apiv2 icon indicating copy to clipboard operation
yomomma-apiv2 copied to clipboard

API returns application error

Open BamBoozledMC opened this issue 2 years ago • 3 comments

Your API isn't working and is returning an error when i make a request. image image

Would help if you could fix, thanks ;)

BamBoozledMC avatar Mar 29 '22 03:03 BamBoozledMC

Can you check again, it works for us.

vdesmond avatar Apr 03 '22 03:04 vdesmond

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.

dd900 avatar Sep 27 '22 13:09 dd900

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)

BamBoozledMC avatar Sep 28 '22 00:09 BamBoozledMC