martinmulder / internetnl-batchapi-php
Internet.nl batch API PHP
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/martinmulder/internetnl-batchapi-php
Requires
- php: >=5.3.3
- jms/serializer: ^0.16.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2025-09-28 02:45:58 UTC
README
This is a php client for communication with the Internet.NL batch API.
Usage
<?php use \Doctrine\Common\Annotations\AnnotationRegistry; $loader = require_once 'vendor/autoload.php'; AnnotationRegistry::registerLoader(array($loader, "loadClass")); $api = new \MartinMulder\InternetNL\Api(); try { $web = $api->web("<name>", array('<domains>')); echo $web->getData()->getResults(); } catch (\MartinMulder\InternetNL\Exception\ApiException $e) { echo $e->getMessage() . ' @ ' . $e->getCall(); }