Skip to main content

Getting stats

Now that you have initialized the package, you can get statistics about the Exerra phishing API.

API Reference​

You can view the API reference here

Usage​

This function returns Promise<Object>, so you either put await before the function, or use .then()

// Await
let data = await phish.stats()

// .then
phish.stats()
.then(data => {
// blah blah
})