dub
dub copied to clipboard
[FEAT]: API endpoint for link analytics
Proposal
An endpoint in the dub API for getting the related tinybird analytics data of a given link, project, or domain.
Extension
If this is approved I think it would make sense to add support for this to the dub-node package under something like
const data = client.analytics({ link: "dub.sh/fdsjebQ" });
// or
const data - client.analytics({ project: projectSlug });
// or
const data - client.analytics({ domain: "dub.sh" });