Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.14 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.14 KB

madlibs-api

Hosted on Vercel License: MIT contributions welcome chroline/madlibs-api

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

Usage

This API provides two endpoints:

  1. /api/random — obtain a random story
curl 'https://madlibs-api.vercel.app/api/random'
  1. /api/story/[title]/ — obtain a specific story by title
curl '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.