1. Go to this page and download the library: Download dominservice/ceidg-api 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/ */
dominservice / ceidg-api example snippets
use Dominservice\CeidgApi;
$authToken = 'secret';
// To connect with the production environment
$ceidgProductionApi = new CeidgApi($authToken);
// To connect with the sandbox environment
$ceidgSandboxApi = new CeidgApi($authToken, true);
// To get IDs of all companies modified or created on August 5th, 2019
$result = $getId->setMigrationDateFrom('2019-08-05')->setMigrationDateTo('2019-08-05')->send();
// To get IDs of all companies having postcode '02-662'
$result = $getId->setPostcode('02-662')->send();
$result = (new CeidgApi($authToken))->getId()->setMigrationDateFrom('2019-08-05')->setMigrationDateTo('2019-08-05')->send();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.