1.1.1 • Published 5 years ago

gdeslon-webmaster-api v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Gdeslon API Integration

Installation

To use the library, install it through npm

npm install --save gdeslon-webmaster-api

Get API tokens

Usage

const GdeslonApi = require('gdeslon-webmaster-api');
const api = new GdeslonApi(wmId, ordersApiToken, linksApiToken);
let links = await api.getOfferLinksByOfferId();

API

  • getLeadsByOfferId(timestamp dateFrom, timestamp dateTo, int offerId, string subAccount): Array< Object >
  • getStatisticsOffersByOfferId(timestamp dateFrom, timestamp dateTo, int offerId, string subAccount): Object
  • getWebmasterCommissions(timestamp dateFrom, timestamp dateTo, int offerId): Object
  • getOfferLinksByOfferId(int offerId): Array< Object >
  • apiRequest(params) - native gdeslon api request
1.1.1

5 years ago

1.1.0

5 years ago