توثيق API
| طريقة HTTP | POST |
| رابط API | https://smm.mlokai.com/api/v2 |
| صيغة الاستجابة | JSON |
| المعاملات | الوصف |
|---|---|
| key | مفتاح API |
| action | services |
مثال على الاستجابة
[
{
"service": "1",
"name": "Followers",
"type": "Default",
"rate": "5.12",
"min": "25",
"max": "100000",
"dripfeed": true,
"category": "First Category"
},
{
"service": "2",
"name": "Comments",
"type": "Custom Comments",
"rate": "12.42",
"min": "100",
"max": "1000",
"dripfeed": false,
"category": "Second Category"
}
]
| المعاملات | الوصف |
|---|---|
| key | مفتاح API |
| action | add |
| service | معرّف الخدمة |
| link | رابط الصفحة |
| quantity | الكمية المطلوبة |
| runs (اختياري) | مرات التنفيذ |
| interval (اختياري) | الفاصل بالدقائق |
مثال على الاستجابة
{
"order": 26
}
| المعاملات | الوصف |
|---|---|
| key | مفتاح API |
| action | status |
| order | رقم الطلب |
مثال على استجابة الطلب
{
"charge": "5.0000",
"start_count": "5763",
"status": "Processing",
"remains": "172",
"currency": "USD"
}
مثال على استجابة الاشتراك
{
"status": "Active",
"expiry": null,
"posts": "1",
"orders": [
"22"
]
}
| المعاملات | الوصف |
|---|---|
| key | مفتاح API |
| action | status |
| orders | معرّفات الطلبات مفصولة بفاصلة |
مثال على الاستجابة
{
"1": {
"charge": "0.0231",
"start_count": "0",
"status": "Pending",
"remains": "0",
"currency": "USD"
},
"3": {
"error": "Incorrect Order ID"
},
"10": {
"charge": "10.0000",
"start_count": "52",
"status": "Completed",
"remains": "128",
"currency": "USD"
}
}
| المعاملات | الوصف |
|---|---|
| key | مفتاح API |
| action | balance |
مثال على الاستجابة
{
"balance": "56.61292",
"currency": "USD"
}