Melolo Categories API
Dokumentasi resmi Melolo Categories API dari Maelyn API untuk mengambil daftar kategori atau tab yang tersedia di Melolo
Base Information
- BASE_URL_API:
https://api.maelyn.eu/api - Path / Endpoint:
/stream/melolo/categories - Method:
GET - Credit Usage:
1
Authentication
Gunakan header berikut pada setiap request:
x-maelyn-auth: YOUR_API_KEY
Query Parameters
Endpoint ini digunakan untuk mengambil daftar kategori atau tab yang tersedia pada halaman Melolo.
Example Request
GET /melolo/categories
Parameters
Endpoint ini tidak membutuhkan query parameter.
Example Usage
GET /melolo/categories
Success Response
{
"success": true,
"message": "Berhasil mengambil kategori Melolo",
"result": {
"status": true,
"total": 6,
"items": [
{
"id": "-1",
"name": "Populer",
"english_name": "Popular",
"type": "",
"focus": "",
"scene_id": "",
"mode": ""
},
{
"id": "754",
"name": "Ceo",
"english_name": "Ceo",
"type": "",
"focus": "",
"scene_id": "",
"mode": ""
}
]
}
}
Response Fields Explanation
| Field | Description |
|---|---|
result.status | Status hasil pengambilan kategori |
result.total | Jumlah kategori yang tersedia |
result.items | Daftar kategori Melolo |
id | ID kategori |
name | Nama kategori |
english_name | Nama kategori dalam bahasa Inggris |
type | Tipe kategori |
focus | Informasi fokus kategori |
scene_id | ID scene kategori |
mode | Mode kategori |
Notes
- Endpoint ini cocok digunakan untuk mengambil daftar kategori sebelum menggunakan endpoint
/melolo/tab - Gunakan nilai
id,name, danenglish_namedari endpoint ini untuk request tab tertentu
Error Response
Internal Server Error
{
"success": false,
"message": "Internal server error"
}