API Usage
Get the program schedule:
GET /api/tv-guide
Response Format
{
"name": "program_name",
"shows": [
{
"id": "video_id",
"duration": 1846, // Duration in seconds
"startTimeMs": 1708503600000 // UTC milliseconds, calculated from server start time
}
],
"created": "2025-02-14T05:34:17.188Z",
"modified": "2025-02-14T05:34:17.188Z",
"streamStartMs": 1708503600000, // Server's configured start time (UTC milliseconds)
"timeZone": "America/Los_Angeles" // Server's configured time zone
}
Note: Show start times are calculated based on:
1. Server's configured start time (streamStartMs)
2. Position in the sequence
3. Duration of preceding shows
Get show information:
GET /api/tv-guide/show/:id
Show Response Format
{
"name": "Show Name",
"title": "Episode Title",
"subtitle": "Optional Subtitle",
"type": "ST^TIC",
"creators": [
{
"name": "Creator Name",
"social": "@handle",
"platform": "X"
}
]
}
Show Types
featured
- Featured content
dj_set
- DJ performance
ST^TIC
- ST^TIC show
movie
- Full movie
premiere
- New release
sci-fi
- Science fiction content
Platforms
X
- Twitter/X platform
YouTube
- YouTube channel
cubicubes
- Cubic Cubes platform