Skip to content

chroline/madlibs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.