import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const stats = await client.emails.stats.list();console.log(stats.end);
Returns aggregated daily sending statistics for the current period.
GET
/
emails
/
stats
JavaScript
import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const stats = await client.emails.stats.list();console.log(stats.end);