XStream Backend API - Xtream Codes Compatible ============================================================ Demo Accounts: - Username: test | Password: test (Full access, 5 connections) - Username: demo | Password: demo (Trial account, 1 connection, m3u8 only) Available Endpoints: 1. /player_api.php - Authentication: GET /player_api.php?username={user}&password={pass} - Get Live Streams: GET /player_api.php?username={user}&password={pass}&action=get_live_streams - Get Categories: GET /player_api.php?username={user}&password={pass}&action=get_live_categories 2. /get.php - M3U Playlist: GET /get.php?username={user}&password={pass}&type=m3u_plus&output=m3u8 3. /xmltv.php - XMLTV EPG: GET /xmltv.php?username={user}&password={pass} Example Usage: - Authenticate: GET /player_api.php?username=test&password=test - Get streams: GET /player_api.php?username=test&password=test&action=get_live_streams - Get M3U: GET /get.php?username=test&password=test&type=m3u_plus&output=m3u8 - Get EPG: GET /xmltv.php?username=test&password=test Features: - 30 mock channels across 6 categories (Sports, News, Movies, Entertainment, Kids, Documentary) - Full Xtream Codes API compatibility - CORS enabled for cross-origin requests - XMLTV EPG with 24-hour program schedule - Developer debug logging for troubleshooting