burger
header header

Explore the ravaged lands. Survive against the odds. Choose your path.

xtream code club

Xtream Code Club Instant

async getShortEPG(streamId) { try { const response = await axios.get(`${this.baseUrl}/player_api.php`, { params: { username: this.username, password: this.password, action: 'get_short_epg', stream_id: streamId, limit: 5 } }); return response.data; } catch (error) { return []; } } }

async getCategories() { try { const [live, vod, series] = await Promise.all([ axios.get(`${this.baseUrl}/player_api.php`, { params: { username: this.username, password: this.password, action: 'get_live_categories' } }), axios.get(`${this.baseUrl}/player_api.php`, { params: { username: this.username, password: this.password, action: 'get_vod_categories' } }), axios.get(`${this.baseUrl}/player_api.php`, { params: { username: this.username, password: this.password, action: 'get_series_categories' } }) ]); return { live: live.data, vod: vod.data, series: series.data }; } catch (error) { throw error; } } xtream code club

const loadCategories = async () => { const response = await fetch('/api/categories'); const data = await response.json(); setCategories(data); if (data.live.length > 0) { setSelectedCategoryId(data.live[0].category_id); await loadStreams(data.live[0].category_id, 'live'); } }; async getShortEPG(streamId) { try { const response =

Stay connected with us

xtream code club xtream code club xtream code club xtream code club xtream code club