async public Task <ReportsListResponse> ListReportsSince(long unixTimestamp, int page = 1) { var parameterised = string.Format(API_REPORTS_PAGE_SINCE, page, unixTimestamp); return(JSON.GetObject <ReportsListResponse>(await SendGet(parameterised))); }
async public Task <DetailedReportResponse> ReportDetails(int id) { var json = await SendGet($"{API_REPORTS}/{id}"); return(JSON.GetObject <DetailedReportResponse>(json)); }
async public Task <ReportsListResponse> ListReports(int page = 1) { var json = await SendGet(string.Format(API_REPORTS_PAGE, page)); return(JSON.GetObject <ReportsListResponse>(json)); }