1.2.0 • Published 9 months ago

admitad-webmaster-api v1.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 months ago

Admitad API Integration

Installation

To use the library, install it through npm

npm install --save admitad-webmaster-api

Get clientId and clientSecret

Usage

const AdmitadApi = require('admitad-webmaster-api');
const api = new AdmitadApi(clientId, clientSecret);
let profile = await api.getProfile();

API

  • getProfile()
  • getBalance(currency: String)
  • getTrafficChannels()
  • getOfferLinkByOfferId(offerId: Integer, channelId: Integer)
  • getStatisticsOffersByOfferId(dateFrom: timestamp, dateTo: timestamp, offerId: Integer?, channelId: Integer?, subId: String?)
  • getLeadsByOfferId(dateFrom: timestamp, dateTo: timestamp, offerId: Integer?, channelId: Integer?)
  • getCrByOfferId(dateFrom: timestamp, dateTo: timestamp, offerId: Integer, channelId: Integer?)
  • apiRequest(params: String) - native admitad api request
1.2.0

9 months ago

1.1.2

10 months ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago