API ডকুমেন্টেশন

API Overview

API ব্যবহারের নির্দেশিকা ও উদাহরণ এখানে অ্যাডমিন প্যানেল থেকে যোগ করা হবে।

ব্যবহারের উদাহরণ (PHP)

<?php // API বেস URL (ডাইনামিকভাবে লোড হচ্ছে) $base_url = "https://tsboost.com.com/api_v1/"; // আপনার প্যারামিটার $params = [ "key" => "আপনার_এপিআই_কি", "action" => "status", "order" => "12345" ]; // URL তৈরি করা $url = $base_url . "?" . http_build_query($params); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); // ফলাফল দেখা print_r(json_decode($response, true)); ?>