madlibs-api

https://camo.githubusercontent.com/d0f0ff1c5253377163a848fba123de5cfd3ffd49157e2241a45eb5c88a5e9624/68747470733a2f2f62616467656e2e6e65742f62616467652f254532253936254232253230486f737465642532306f6e2f56657263656c2f626c61636b

https://camo.githubusercontent.com/5fab2edf3816ef9fb3ebcaf6e613fa7b40ff7652ec69e5f6e7f695aa24bf5ce6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667

https://camo.githubusercontent.com/f5054ffcd4245c10d3ec85ef059e07aacf787b560f83ad4aec2236364437d097/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c6174

https://camo.githubusercontent.com/c5cb96270370c04df94b17bdca4c33ee0c0933ce195451e24fe352ac1cceb130/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6173742d636f6d6d69742f6368726f6c696e652f776f7264732d6161732f6d61696e

API that provides fill-in-the-blank stories.

Usage

This API provides two endpoints:

  1. /api/random — obtain a random story
curl --request GET \\
--url '<https://madlibs-api.vercel.app/api/random>'
  1. /api/story/[title]/ — obtain a specific story by title
curl --request GET \\
--url '<https://madlibs-api.vercel.app/api/story/A> Spooky Campfire Story'

Credits

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.