Skip to content

MartinMulder/InternetNL-batchAPI-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InternetNL-batchAPI-php

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();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages