Skip to main content
Deno 2 is finally 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!
Latest
method default.prototype.getTimeseries
import { default } from "https://deno.land/x/plausible@v2.2.1/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
optional
date: string | null