PHP code example of nekhbet / admetsar-service

1. Go to this page and download the library: Download nekhbet/admetsar-service 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/ */

    

nekhbet / admetsar-service example snippets


$api = new admetSAR();
$id_job = $api
    ->setSMILESCode('Cc1cc(O)c2C(=O)c3c(O)cc(O)c4c3c3c2c1c1c2c3c3c4c(O)cc(O)c3C(=O)c2c(O)cc1C')
    ->submitJob();
print_r($api->parseJobResults($id_job));