PHP code example of kilyte / lsdk

1. Go to this page and download the library: Download kilyte/lsdk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kilyte / lsdk example snippets


use kilyte\lucen\SDK\Lucen;

$domain = "";
$username = "";
$apikey = "";

$lucen = new Lucen($domain, $username, $apikey);
$data = [
    ['query' => '10101010', 'type' => 'idno']
];

$task = $lucen->submit_task($data);



$lucen = new Lucen($domain, $username, $apikey);
$task = $lucen->get_task([[
     'query' => '10101010',
     'task' => 'jhfdureiuyerueyr'
]]);