public static IRestResponse getAllReports() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var parameters = new api.Parameters(); var results = request.Get("v2/lsrc/get-all", parameters); return(results); }
public static IRestResponse getReport() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var reportId = 1; var parameters = new api.Parameters(); var results = request.Get("v4/gpw/" + reportId + "", parameters); return(results); }
public static IRestResponse getReviewsStarCounts() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var reportId = 141; var parameters = new api.Parameters(); var stars = request.Get("v4/rf/" + reportId + "/stars/count", parameters); return(stars); }
public static IRestResponse getReviewsDirectories() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var reportId = 141; var parameters = new api.Parameters(); var directories = request.Get("v4/rf/" + reportId + "/directories", parameters); return(directories); }
public static IRestResponse getReviewsGrowth() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var reportId = 141; var parameters = new api.Parameters(); var growth = request.Get("v4/rf/" + reportId + "/reviews/growth", parameters); return(growth); }
public static IRestResponse getReportHistory() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var parameters = new api.Parameters(); parameters.Add("campaign-id", "50"); var results = request.Get("/v2/lsrc/history/get", parameters); return(results); }
public static IRestResponse getReportResults() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var parameters = new api.Parameters(); parameters.Add("report-id", "2457"); var results = request.Get("v2/ct/get-results", parameters); return(results); }
public static IRestResponse searchReports() { api request = new api("<INSERT_API_KEY>", "<INSERT_API_SECRET>"); var parameters = new api.Parameters(); parameters.Add("q", "Bodega Wine Bar"); var results = request.Get("v4/lscu/search", parameters); return(results); }