PHP code example of f3ath / appnexus
1. Go to this page and download the library: Download f3ath/appnexus 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/ */
f3ath / appnexus example snippets
$storage = new F3\AppNexusClient\ArrayTokenStorage(); // Memcached and Apc storage are also available
$appnexus = new F3\AppNexusClient\AppNexusClient('username', 'password', "http://api-console.client-testing.adnxs.net/", $storage);
var_dump($appnexus->call(F3\AppNexusClient\HttpMethod::GET, '/user'));