Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Cityads API Integration

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages