Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.47 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.47 KB

piplapis PHP Library

This is a PHP client library for easily integrating Pipl's APIs into your application.

Library Requirements

  • PHP 8.x.x and above is supported!
  • Make sure php-curl is enabled (Windows: in the php.ini file uncomment ;extension=php_curl.dll, Linux (Debian derivatives): apt-get install php5-curl).
  • Not required, but for input validation of unicode strings mb_string is recommended.

Installation

php composer.phar require pipl/piplapis-php

Hello World

<?php

require_once './piplapis/search.php';

$configuration = new PiplApi_SearchRequestConfiguration();
$configuration->use_https = true;
$configuration->api_key = 'YOURKEY';

$request = new PiplApi_SearchAPIRequest(array('email' => '[email protected]',
'first_name' => 'Clark',
'last_name' => 'Kent'), $configuration);

?>

Getting Started & Code Snippets

Pipl's Search API