Skip to content

nebaz/cityadsWebmasterApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published