Referensi
SDK & library
Setiap aksi berfungsi dengan klien HTTP biasa, jadi Anda tidak butuh library. Paket resmi belum dipublikasikan. Panel dan skrip yang memakai API standar kunci + aksi (key + action) hanya membutuhkan URL dasar yang baru.
Gunakan klien HTTP apa pun
Cukup POST dengan kolom formulir, atau body JSON dengan nama yang sama. Contoh ini membaca layanan Anda.
# List the services you can order
curl -X POST https://notpanel.com/api/v3 \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "key=YOUR_API_KEY&action=services"const res = await fetch("https://notpanel.com/api/v3", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "services",
}),
});
const services = await res.json();
console.log(`Found ${services.length} services`);import requests
res = requests.post(
"https://notpanel.com/api/v3",
data={"key": "YOUR_API_KEY", "action": "services"},
)
services = res.json()
print(f"Found {len(services)} services")<?php
$body = http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'services',
]);
$response = file_get_contents('https://notpanel.com/api/v3', false, stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/x-www-form-urlencoded\r\n",
'content' => $body,
],
]));
$services = json_decode($response, true);
echo "Found " . count($services) . " services\n";
Buat order
Membuat order adalah permintaan yang sama dengan lebih banyak kolom. request_id membuatnya aman diulang bila koneksi terputus.
curl -X POST https://notpanel.com/api/v3 \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "key=YOUR_API_KEY&action=add&service=7&link=https://instagram.com/example&quantity=1000&request_id=550e8400-e29b-41d4-a716-446655440000"const res = await fetch("https://notpanel.com/api/v3", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "add",
service: "7",
link: "https://instagram.com/example",
quantity: "1000",
request_id: "550e8400-e29b-41d4-a716-446655440000",
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://notpanel.com/api/v3",
data={
"key": "YOUR_API_KEY",
"action": "add",
"service": "7",
"link": "https://instagram.com/example",
"quantity": "1000",
"request_id": "550e8400-e29b-41d4-a716-446655440000",
},
)
print(res.json())<?php
$body = http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'add',
'service' => '7',
'link' => 'https://instagram.com/example',
'quantity' => '1000',
'request_id' => '550e8400-e29b-41d4-a716-446655440000',
]);
$response = file_get_contents('https://notpanel.com/api/v3', false, stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/x-www-form-urlencoded\r\n",
'content' => $body,
'ignore_errors' => true,
],
]));
print_r(json_decode($response, true));
SDK resmi
- SDK JavaScriptBelum dirilis
- SDK PythonBelum dirilis
- SDK PHPBelum dirilis
SDK reseller yang sudah ada
Arahkan SDK reseller kunci + aksi (key + action) generik ke https://notpanel.com/api/v3 dan pertahankan panggilan inti yang sudah dikenalnya. Alamat /api/v1, /api/v2, /api/v3 berperilaku identik. request_id opsional, kolom tambahan, opsi drip feed, detail order, dan webhook bertanda tangan adalah tambahan. Jika Anda butuh bantuan, buka tiket dari halaman kontak dengan detail SDK dan panggilan.
https://notpanel.com/api/v3Ingin mempublikasikan milik Anda sendiri?
SDK komunitas dipersilakan. Halaman referensi di situs ini adalah spesifikasi otoritatif — apa pun yang round-trip dengan benar terhadapnya adalah SDK yang valid. Kami dengan senang hati menautkan paket komunitas yang terpelihara dengan baik dari halaman ini; hubungi kami via support@notpanel.com dengan sebuah tautan.