Module client

Module client 

Source

Structs§

AggregateQuery
Query parameters for the stats aggregate endpoint.
AggregateResponse
Response envelope for aggregate metrics.
BreakdownQuery
Query parameters for the stats breakdown endpoint.
BreakdownResponse
Response envelope for breakdown metrics.
CreateSiteRequest
Request payload to create a new site.
PlausibleClient
High-level Plausible API client.
RealtimeVisitorsResponse
Response payload for realtime visitors.
ResetSiteStatsRequest
Request payload for resetting site statistics.
SiteSummary
Minimal representation of a Plausible site entry.
TimeseriesQuery
Query parameters for the stats timeseries endpoint.
TimeseriesResponse
Response envelope for timeseries metrics.
UpdateSiteRequest
Request payload to update an existing site.

Enums§

ClientError