1.3.2 • Published 2 years ago

cityads-webmaster-api v1.3.2

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

Cityads API Integration

Installation

To use the library, install it through npm

npm install --save cityads-webmaster-api

Get API token

Usage

const CityadsApi = require('cityads-webmaster-api');
const api = new CityadsApi(token);
let links = await api.getOfferLinksByOfferId(29028);

API

  • getProfile(): Object
  • getBalance(): Object
  • chargeHistoryList(): Array< Object >
  • getTrafficChannels(): Array< Number >
  • getOfferDataByOfferId(int offerId): Object
  • getOffersData(Array< Number > offerIds, int channelId): Object
  • getCrByOfferId(timestamp dateFrom, timestamp dateTo, int offerId, int channelId): Object
  • getLeadsByOfferId(timestamp dateFrom, timestamp dateTo, int offerId, int channelId, string xid): Array< Object >
  • getStatisticsOffersByOfferId(timestamp dateFrom, timestamp dateTo, int offerId, int channelId, string group): Object
  • getWebmasterCommissions(timestamp dateFrom, timestamp dateTo, int offerId): Object
  • getOfferLinksByOfferId(int offerId, int channelId): Object
  • apiRequest(action, params) - native cityads api request
1.3.2

2 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

5 years ago