This API provides two endpoints:
/api/random
โ obtain a random story
curl 'https://madlibs-api.vercel.app/api/random'
/api/story/[title]/
โ obtain a specific story by title
curl 'https://madlibs-api.vercel.app/api/story/A Spooky Campfire Story'
madlibs-api
is created and maintained by Cole Gawin.
The story templates provided by this API are from
HermanFasset/madlibz
(released under MIT licensing). See http://madlibz.herokuapp.com for more details.