Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/plausible/index.ts>default#getTimeseries

A zero-dependency, TypeScript library for interacting with the Plausible Analytics API, written in Deno!
Go to Latest
method default.prototype.getTimeseries
import { default } from "https://deno.land/x/plausible@v2.0.0/index.ts";

This function provides timeseries data over a certain time period. If you are familiar with the Plausible dashboard, this function corresponds to the main visitor graph.

Type Parameters

Metric extends Metrics

Parameters

period: Period
metric: Metric
optional
filters: string | null
optional
interval: Interval | null