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

Latest commit

 

History

History

analytics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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,
});