cityads-api
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -59,3 +59,3 @@ "use strict"; | ||
programs: function(geo, cb) { | ||
this.getinapi("http://api.cityads.com/api/rest/webmaster/json/offers/all?geo=br&remote_auth=" + remoteauth + "&geo=" + geo, cb); | ||
this.getinapi("http://api.cityads.com/api/rest/webmaster/json/offers/all?remote_auth=" + remoteauth + "&geo=" + geo, cb); | ||
}, | ||
@@ -95,3 +95,4 @@ | ||
report: function(typereport, groupfield, datestart, dateend, cb){ | ||
this.getinapi("http://api.cityads.com/api/rest/webmaster/json/" + typereport + "/" + groupfield + "/" + datestart + "/" + dateend + "?remote_auth=" + remoteauth, cb); | ||
groupfield = (typeof groupfield == "string") ? "/" + groupfield : ""; | ||
this.getinapi("http://api.cityads.com/api/rest/webmaster/json/" + typereport + groupfield + "/" + datestart + "/" + dateend + "?remote_auth=" + remoteauth, cb); | ||
}, | ||
@@ -98,0 +99,0 @@ |
{ | ||
"name": "cityads-api", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "API integration with CityAds", | ||
@@ -5,0 +5,0 @@ "author": "André Ferreira <andrehrf@gmail.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11213
147