Package com.mailosaur
Class Usage
java.lang.Object
com.mailosaur.Usage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlimits()Retrieve account usage limits.Retrieves the last 31 days of transactional usage.
-
Constructor Details
-
Usage
-
-
Method Details
-
limits
Retrieve account usage limits. Details the current limits and usage for your account. This endpoint requires authentication with an account-level API key.- Returns:
- The current limits and usage for your account.
- Throws:
MailosaurException- Thrown if Mailosaur responds with an error.IOException- Unexpected exception.
-
transactions
Retrieves the last 31 days of transactional usage. This endpoint requires authentication with an account-level API key.- Returns:
- Usage transactions from your account.
- Throws:
MailosaurException- Thrown if Mailosaur responds with an error.IOException- Unexpected exception.
-