mobpartner

0.0.2 • Public • Published

MobPartner

MobPartner is a Mobile Affiliate Platform used in WidPlay. The API it's very basic. With this API can get your statistics account. This library use promises.

Installation

npm install mobpartner

Methods

* today
* yesterday
* thisweek
* lastweek
* thismonth
* last7days
* last30days
* lastmonth
* thisyear
* lastyear
* interval

See that

Note that we use promises syntax

Example

var MobPartner = require('mobpartner');
var mobpartner = new MobPartner('yourkey', 'yourlogin');
mobpartner.today()
    .then(function(stats){
        console.log(stats);
    });

Example 2

var MobPartner = require('mobpartner');
var mobpartner = new MobPartner('yourkey', 'yourlogin');
mobpartner.interval('20140324', '20140326')
    .then(function(stats){
        console.log(stats);
    });

Version

0.0.1

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i mobpartner

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • widplay