Skip to content

itsachance/magic8ball-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic 8 ball API

Two endpoints for delivering the standard 20 Magic 8 ball answers + 1 custom as a REST API with JSON:

  • /magic - give the client one Magic 8 ball answer as a JSON object
  • /completemagic - give the client all 21 standard answer objects in an array

Example answer object:

{
    "Id":13,
    "Answer":"Cannot predict now.",
    "Type":"neutral"
}

The Type attribite indicates if the answer is "affirmative", "neutral", or "negative".

About

An API to ask the magic 8 ball

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors