Getting Started
To integrate with our API, you will need your API Key. You can find your API Key at the member area. The following are some sample codes on how you can integrate with our API. If you do not know programming, you may need to hire a developer for your integration project. If you are running a self-hosted WordPress website, you can use our WordPress plugin.
Endpoint
https://endpoint.dashdeveloper.com/json/
Curl
curl --location --request POST 'https://endpoint.dashdeveloper.com/json/'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'text=YOUR TEXT HERE'
--data-urlencode 'api=YOUR-API-KEY'
PHP
$text = "...";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://endpoint.dashdeveloper.com/json/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => 'text='.urlencode($text).'&api=YOUR-API-KEY',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/x-www-form-urlencoded'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;