Sidio.MailBluster is an unofficial C# SDK for the MailBluster API. Currently this package is not feature complete, and not released as a stable version. Please use at your own risk.
Add the package to your project.
{
"MailBluster:Url": "https://api.mailbluster.com/api/",
"MailBluster:ApiKey": "your-api-key"
}
services.AddMailBluster();
public class MyClass
{
private readonly IMailBlusterClient _client;
public MyClass(IMailBlusterClient client)
{
_client = client;
}
public async Task GetLeads()
{
var lead = await _client.GetLeadAsync("[email protected]");
}
}
Trace
is used, sensitive data (e.g. email address, names) might be logged. It is recommended
not to use trace logging in production environments.
- Manage leads
- Create
- Read
- Update
- Delete
- Manage fields
- Create
- Read
- Update
- Delete
- Manage products
- Create
- Read
- Update
- Delete
- Manage orders
- Create
- Read
- Update
- Delete
Integration tests are available in the Sidio.MailBluster.Integration.Tests
project. To run the tests, add the following configuration file local.settings.json
:
{
"MAILBLUSTER_API_KEY": "your-api-key"
}