Skip to content

nebaz/awin-webmaster-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awin.com API Integration

Installation

To use the library, install it through npm

npm install --save awin-webmaster-api

Get API token here

Get your userId here

Usage

const AwinApi = require('awin-webmaster-api');
const api = new AwinApi(userId, token);
let awinOffers = await api.getOffersData('ES');

API

  • getOffersData(string countryCode?, string relationship?): Object
  • getLeadsByOfferId(timestamp dateFrom, timestamp dateTo, int offerId?): Object
  • getStatisticsOffers(timestamp dateFrom, timestamp dateTo, int offerId?, array regions): Object
  • getStatisticsOffersByRegion(timestamp dateFrom, timestamp dateTo, int offerId?, string region): Object
  • getOfferLinkByOfferId(int offerId): Object
  • apiRequest(method) - native awin api request

About

awin.com API Integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors