Uses spglancy's Cards Against Humanity API to provide a simple API that picks random cards for you. It's already deployed on Vercel, so try it out here or click the following to deploy your own
fetch('https://cah-picker.vercel.app/api/pick-for-me')
.then(resp => resp.json())
.then(picked => {
console.log(picked);
});
where picked
will look like:
{
"blackCard": "Coming to Broadway this season, ___: The Musical.",
"whiteCards": [
"The Kool-Aid Man."
]
}