Upspell Effects

Cast interactive spells and JSON APIs from one server.

Serve lightweight pages for humans and clean JSON for automations.

JSON API

GET /api/siri

The Siri endpoint inspects a nearly complete deck (51 cards) and responds with four narrative messages.

Accepted card syntax uses uppercase rank plus suit (e.g., AS, 10H, QC). Separate entries by commas or provide a JSON array.

curl "http://upspell-effects.com/api/siri?deck=3D,4D,4C,KC,2S,9D,7D,8S,KD,5C,2D,6S,KS,2C,7H,7C,5H,QS,10C,8H,AC,3S,10D,JD,9S,3C,4H,8D,3H,4S,9C,10S,8C,5D,2H,JC,KH,5S,10H,6H,AD,QD,6C,AH,AS,7S,QC,QH,9H,JS,JH&display=screensaver"

Returns:
  { 
    "commands":["CLR","Value","IsItHs","DoYouLMe"], 
    "missing_card":"6D", 
    "success":true 
  }

Tip: leave out one card to see which card Siri thinks is missing.