2017 © Pedro Peláez
 

yii2-extension yii2-appnexusapiclient

AppNexus API client for yii2

image

fedemotta/yii2-appnexusapiclient

AppNexus API client for yii2

  • Monday, May 11, 2015
  • by fedemotta
  • Repository
  • 2 Watchers
  • 1 Stars
  • 61 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

A Simple AppNexus API client for yii2

This extension provides the AppNexus API client integration for the Yii2 framework., (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist fedemotta/yii2-appnexusapiclient "*"

or add, (*5)

"fedemotta/yii2-appnexusapiclient": "*"

to the require section of your composer.json file., (*6)

Usage

To use this extension, simply add the following code in your application configuration:, (*7)

return [
    //....
    'components' => [
        'appnexusapiclient' => [
            'class' => 'fedemotta/appnexusapiclient/AppNexusApiClient',
            'username' => 'yourusername',
            'password' => 'yourpassword',
            'host' => 'http://api-console.client-testing.adnxs.net/', //or http:://api.appnexus.com
            'storage_type' => 'Apc', //available token storage are Array, Apc and Memcached
            'storage_type_settings' => ['prefix_',0], //specifies the storage type settings
        ],
    ],
];

Getting users from AppNexus:, (*8)

$users = Yii::$app->appnexusapiclient->get('/user');

Modifying a publisher name in AppNexus:, (*9)

Yii::$app->appnexusapiclient->put('/publisher?id=1',["publisher"=>["name"=>"The new name"]]);

The Versions

11/05 2015

dev-master

9999999-dev

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus

25/04 2015

v1.2

1.2.0.0

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus

17/04 2015

v1.1.2

1.1.2.0

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus

27/03 2015

v1.1.1

1.1.1.0

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus

27/03 2015

v1.1.0

1.1.0.0

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus

16/03 2015

v1.0.2

1.0.2.0

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus

16/03 2015

v1.0.1

1.0.1.0

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus

13/03 2015

v1.0.0

1.0.0.0

AppNexus API client for yii2

  Sources   Download

MIT

The Requires

 

by Federico Nicolás Motta

api extension yii2 client appnexus