f3ath/appnexus

Simple AppNexus (appnexus.com) client

0.4.0 2017-06-02 20:13 UTC

This package is auto-updated.

Last update: 2024-10-29 03:43:09 UTC


README

Total Downloads Latest Stable Version Travis Build SensioLabs Insight

A simple Appnexus API client

You can help development of this library by providing me an API key

Install

Via composer: $ composer require "f3ath/appnexus"

Use

$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'));