เอกสารการใช้งาน API สำหรับเชื่อมต่อระบบ Adslabs24hr
ดึงข้อมูลรายละเอียดของสินค้า รายชื่อ โควต้าที่มี และราคา
https://adslabs24hr.com/api/InfoResource.php?username={username}&password={password}&id={id_product}
| Parameter | Type | Description |
|---|---|---|
username |
string | ชื่อผู้ใช้ (Username) สำหรับเข้าสู่ระบบ |
password |
string | รหัสผ่าน (Password) สำหรับเข้าสู่ระบบ |
id |
integer | ID ของสินค้าที่ต้องการดึงข้อมูล (เช่น 19) |
curl --location -g 'https://adslabs24hr.com/api/InfoResource.php?username=admin&password=admin&id=19'
{
"status": "success",
"msg": "Lấy thông tin sản phẩm thành công",
"data": [
{
"id": "19",
"name": "Clone very phone",
"price": "100",
"amount": 53,
"country": "vn",
"description": ""
}
]
}
เช็คยอดเงินคงเหลือในบัญชีผู้ใช้งาน
https://adslabs24hr.com/api/GetBalance.php?username={username}&password={password}
| Parameter | Type | Description |
|---|---|---|
username |
string | ชื่อผู้ใช้ (Username) สำหรับเข้าสู่ระบบ |
password |
string | รหัสผ่าน (Password) สำหรับเข้าสู่ระบบ |
curl --location -g 'https://adslabs24hr.com/api/GetBalance.php?username=admin&password=admin'
199.994.860đ
สำหรับสิทธิ์ Admin ในการนำเข้าข้อมูลสินค้า/แอคเคาท์เข้าสู่ระบบ
https://adslabs24hr.com/api/importAccount.php?username={username}&password={password}&product={id_product}&account={account_data}
| Parameter | Type | Description |
|---|---|---|
username |
string | บัญชีผู้ใช้ระดับ Admin |
password |
string | รหัสผ่านผู้ใช้ระดับ Admin |
product |
integer | ID ของสินค้าที่ต้องการเพิ่มข้อมูล |
account |
string | ข้อมูลทรัพยากร/แอคเคาท์ที่ต้องการนำเข้า (เช่น 100057364554683|@Khoi2020) |
curl --location -g 'https://adslabs24hr.com/api/importAccount.php?username=admin&password=admin&product=1&account=100057364554683%7C%40Khoi2020'
No Response Body (ไม่มีการคืนค่าข้อความกลับ)