ReportsClient
The main client class for interacting with the Nebuly reports API.Constructor
Methods
listReports()
Retrieves a list of all available reports.getReport(params)
Retrieves detailed data for a specific report.Optional tags to filter the report data. Values can be strings or arrays of strings.
getChart(params)
Retrieves data for a single chart by ID.Optional tags to filter the chart data. Values can be strings or arrays of strings.
Types
Report
ReportData
ChartData
TimeRange
TimeRangeKind
Available time range kinds:"custom"- Custom date range"date_to_now"- From a specific date to now"today"- Today only"yesterday"- Yesterday only"7_days"- Last 7 days"30_days"- Last 30 days"this_month"- Current month"this_quarter"- Current quarter"this_year"- Current year"last_month"- Previous month"last_quarter"- Previous quarter"3_months"- Last 3 months"6_months"- Last 6 months"12_months"- Last 12 months"3_months_full"- Last 3 full months"6_months_full"- Last 6 full months"12_months_full"- Last 12 full months"q1"- Q1"q2"- Q2"q3"- Q3"q4"- Q4"ytd"- Year to date
DatasetDatapoint
Array of coordinate data points with optional user information.
Error Handling
The client throwsInvalidUrlError when an invalid base URL is provided during initialization.