โ† Torna alla Home

๐Ÿ”Œ API Reference

Endpoint per Stream Deck, Companion, e integrazioni custom

๐ŸŽ›๏ธ Stream Deck - Quick Setup

Usa il plugin "Website" (gratuito) o "API Ninja" su Stream Deck. Imposta l'URL e quando premi il bottone, l'azione viene eseguita.

Bottone URL da configurare
๐Ÿ”ด CAM 1 Program https://tally.gabrieleserpi.com/api/quick/1/pgm
๐ŸŸข CAM 1 Preview https://tally.gabrieleserpi.com/api/quick/1/pvw
๐Ÿ’ฌ CAM 1 "Zoom" https://tally.gabrieleserpi.com/api/quick/1/msg/Zoom%20portiere
๐Ÿ’ฌ CAM 2 "Stringi" https://tally.gabrieleserpi.com/api/quick/2/msg/Stringi%20inquadratura
๐Ÿ’ฌ TUTTI "Pausa" https://tally.gabrieleserpi.com/api/quick/all/msg/PAUSA%205%20MIN
๐Ÿšซ Cancella msg https://tally.gabrieleserpi.com/api/quick/all/clear

๐Ÿ’ก Sostituisci gli spazi con %20 nei messaggi

๐Ÿ“ก API Quick (GET)

Richieste semplici - basta aprire l'URL

GET /api/quick/{camera}/pgm

Mette la camera in PROGRAM (rosso). Camera: 1-8

GET /api/quick/{camera}/pvw

Mette la camera in PREVIEW (verde). Camera: 1-8

GET /api/quick/{camera}/msg/{messaggio}

Invia messaggio a camera specifica. Usa all per tutte.

GET /api/quick/{camera}/clear

Cancella messaggio. Usa all per cancellare tutti.

GET /api/quick/{camera}/off

Rimuove camera da PGM/PVW. Usa all per reset totale.

๐Ÿ“‹ API Standard (POST)

Per integrazioni avanzate con JSON body

POST /api/demo/pgm

Body: {"camera": 1} - Imposta camera in Program

POST /api/demo/pvw

Body: {"camera": 2} - Imposta camera in Preview

POST /api/message

Body: {"message": "Testo", "camera": 1, "duration": 10}
camera opzionale (null = tutti), duration in secondi (0 = permanente)

GET /api/state

Ritorna stato attuale: connected, pgm, pvw, message

๐Ÿงช Test Result

Clicca un bottone "Test" per vedere il risultato