Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Latest commit

 

History

History
105 lines (73 loc) · 2 KB

README.md

File metadata and controls

105 lines (73 loc) · 2 KB

Analytics

Get Activity by Country

Official Documentation


import { Client } from "@nuro.dev/mailersend.ts";

const client = new Client("API_KEY");

const result = await client.activityByCountry({
  date_to: 0,
  date_from: 0,
});
import { activityByCountry } from "@nuro.dev/mailersend.ts";

const result = await activityByCountry("API_KEY", {
  date_to: 0,
  date_from: 0,
});

Get Activity by Date

Official Documentation


import { Client } from "@nuro.dev/mailersend.ts";

const client = new Client("API_KEY");

const result = await client.activityByDate({
  date_to: 0,
  date_from: 0,
});
import { activityByDate } from "@nuro.dev/mailersend.ts";

const result = await activityByDate("API_KEY", {
  date_to: 0,
  date_from: 0,
});

Get Activity by Reading Environment

Official Documentation


import { Client } from "@nuro.dev/mailersend.ts";

const client = new Client("API_KEY");

const result = await client.activityByReadingEnvironment({
  date_to: 0,
  date_from: 0,
});
import { activityByReadingEnvironment } from "@nuro.dev/mailersend.ts";

const result = await activityByReadingEnvironment("API_KEY", {
  date_to: 0,
  date_from: 0,
});

Get Activity by User-Agent

Official Documentation


import { Client } from "@nuro.dev/mailersend.ts";

const client = new Client("API_KEY");

const result = await client.activityByUserAgent({
  date_to: 0,
  date_from: 0,
});
import { activityByUserAgent } from "@nuro.dev/mailersend.ts";

const result = await activityByUserAgent("API_KEY", {
  date_to: 0,
  date_from: 0,
});