PHP Client for AdZerk API
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
adzerk.api.php
test.php

README.md

#AdZerk-PHP-Client

####PHP Client for AdZerk API

Usage Tips, Advertisers as example, consistent behavior for all endpoints:

Initialize

$adzerk = new Adzerk('E10ADC3949BA59ABBE56E057F20F883E10'); // Sample API Key

List Advertisers

$adzerk->advertiser(); // no arguments

Create Advertiser

$adzerk->advertiser(null, array()); // arg1: null, arg2: array of data (plain-text associative PHP array)

Update Advertiser

$adzerk->advertiser($advertiserId, array()); // arg1: (int) Advertiser ID, arg2: array of data (plain-text associative PHP array)

All responses are returned by default, as an associative PHP array