Cityads API
API integration with Cityads
Install
$ npm install cityads-api
Get Api Key
Usage
"use strict";
let Cityads = require("cityads-api"),
cityads = new Cityads("Client_id", "Secret_key", "Remote_Auth");
cityads.programs(32, function(err, result){
console.log(result);
});
cityads.coupons("NDQ5NzY1NjE2", function(err, result){
console.log(result);
});
cityads.report("statistics-rate", "event_time_day", "2016-10-01", "2016-11-18", function(err, result){
console.log(result.data);
});
cityads.deeplink("https://www.amomuito.com/", 8065, (err, url) => {
console.log(url);
});