Dokumentasi API
IPTV API
Parameter Request
| Parameter | Tipe | Wajib | Keterangan |
|---|---|---|---|
| key | string | Ya | API Key akun user Anda |
| action | string | Ya | Gunakan nilai get |
| page | string | Ya | Nama page yang ingin diambil (lihat endpoint /api/iptv/page-list) |
Contoh Request URL
https://domain.com/api/iptv?key=YOUR_API_KEY&action=get&page=id
Cara Menggunakan
curl -X GET "https://domain.com/api/iptv?key=YOUR_API_KEY&action=get&page=id"
Contoh Response JSON
{
"status": true,
"page": "id",
"total_channels": 124,
"data": {
"name": "id",
"channels": [
{
"name": "Channel TV 1",
"url": "https://stream.example.com/live/playlist.m3u8",
"logo": "https://example.com/logo.png"
}
]
}
}