MailChimp.Net.V3 4.0.0

A .NET Wrapper for Mail Chimp v3.0 API

There is a newer version of this package available.
See the version list below for details.
Install-Package MailChimp.Net.V3 -Version 4.0.0
dotnet add package MailChimp.Net.V3 --version 4.0.0
<PackageReference Include="MailChimp.Net.V3" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MailChimp.Net.V3 --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MailChimp.Net - A Mail Chimp 3.0 Wrapper

License

MailChimp.Net is licensed under the MIT license.

Quick Start

Install the NuGet package from the package manager console:

Install-Package MailChimp.Net.V3

Using it in code

IMailChimpManager manager = new MailChimpManager(apiKey); //if you have it in code

<add key="MailChimpApiKey" value="apiKEY" />
IMailChimpManager manager = new MailChimpManager(); //if you have it in config

Examples

// Instantiate new manager
IMailChimpManager mailChimpManager = new MailChimpManager(apiKey);
Getting all lists:
var mailChimpListCollection = await this.mailChimpManager.Lists.GetAllAsync().ConfigureAwait(false);
Getting 50 Lists:
var mailChimpListCollection = await this.mailChimpManager.Lists.GetAllAsync(new ListRequest
                                                               {
                                                                   Limit = 50
                                                               }).ConfigureAwait(false);
Getting Users from List:
var listId = "TestListId";
await this.mailChimpManager.Members.GetAllAsync(listId).ConfigureAwait(false);
Adding New User To List
var listId = "TestListId";
// Use the Status property if updating an existing member
var member = new Member { EmailAddress = $"githubTestAccount@test.com", StatusIfNew = Status.Subscribed };
member.MergeFields.Add("FNAME", "HOLY");
member.MergeFields.Add("LNAME", "COW");
await this.mailChimpManager.Members.AddOrUpdateAsync(listId, member);

Status

Progress on full implementation

  • API 100%
  • Authorized Apps 100%
  • Automations 100%
  • Batch Operations 100%
  • Campaigns 100%
  • Campaign Content 100%
  • Campaing Feedback 100%
  • Campaign Folders 100%
  • Campaing Send Checklist 100%
  • Conversations 100%
  • Conversations Messages 100%
  • ECommerce Stores 100%
  • File Manager Files 100%
  • File Manager Folders 100%
  • Lists 100%
  • List Abuse Reports 100%
  • List Activity 100%
  • List Clients 100%
  • List Growth History 100%
  • List Interest Categories 100%
  • List Members 100%
  • List Segments 100%
  • List Web Hooks 100%
  • Template Folders 100%
  • Templates 100%
  • Template Default Content 100%
  • Reports 100%
  • Report Click Reports 100%
  • Report Domain Performance 100%
  • Report EepURL Reports 100%
  • Report Email Activity 100%
  • Report Location 100%
  • Report Sent To 100%
  • Report Sub-Reports 100%
  • Report Unsubscribes 100%
  • ECommerce Carts 100%
  • ECommerce Customers 100%
  • ECommerce Orders 100%
  • ECommerce Order Lines 100%
  • ECommerce Products 100%
  • ECommerce Product Variants 100%

Total 100%

MailChimp.Net - A Mail Chimp 3.0 Wrapper

License

MailChimp.Net is licensed under the MIT license.

Quick Start

Install the NuGet package from the package manager console:

Install-Package MailChimp.Net.V3

Using it in code

IMailChimpManager manager = new MailChimpManager(apiKey); //if you have it in code

<add key="MailChimpApiKey" value="apiKEY" />
IMailChimpManager manager = new MailChimpManager(); //if you have it in config

Examples

// Instantiate new manager
IMailChimpManager mailChimpManager = new MailChimpManager(apiKey);
Getting all lists:
var mailChimpListCollection = await this.mailChimpManager.Lists.GetAllAsync().ConfigureAwait(false);
Getting 50 Lists:
var mailChimpListCollection = await this.mailChimpManager.Lists.GetAllAsync(new ListRequest
                                                               {
                                                                   Limit = 50
                                                               }).ConfigureAwait(false);
Getting Users from List:
var listId = "TestListId";
await this.mailChimpManager.Members.GetAllAsync(listId).ConfigureAwait(false);
Adding New User To List
var listId = "TestListId";
// Use the Status property if updating an existing member
var member = new Member { EmailAddress = $"githubTestAccount@test.com", StatusIfNew = Status.Subscribed };
member.MergeFields.Add("FNAME", "HOLY");
member.MergeFields.Add("LNAME", "COW");
await this.mailChimpManager.Members.AddOrUpdateAsync(listId, member);

Status

Progress on full implementation

  • API 100%
  • Authorized Apps 100%
  • Automations 100%
  • Batch Operations 100%
  • Campaigns 100%
  • Campaign Content 100%
  • Campaing Feedback 100%
  • Campaign Folders 100%
  • Campaing Send Checklist 100%
  • Conversations 100%
  • Conversations Messages 100%
  • ECommerce Stores 100%
  • File Manager Files 100%
  • File Manager Folders 100%
  • Lists 100%
  • List Abuse Reports 100%
  • List Activity 100%
  • List Clients 100%
  • List Growth History 100%
  • List Interest Categories 100%
  • List Members 100%
  • List Segments 100%
  • List Web Hooks 100%
  • Template Folders 100%
  • Templates 100%
  • Template Default Content 100%
  • Reports 100%
  • Report Click Reports 100%
  • Report Domain Performance 100%
  • Report EepURL Reports 100%
  • Report Email Activity 100%
  • Report Location 100%
  • Report Sent To 100%
  • Report Sub-Reports 100%
  • Report Unsubscribes 100%
  • ECommerce Carts 100%
  • ECommerce Customers 100%
  • ECommerce Orders 100%
  • ECommerce Order Lines 100%
  • ECommerce Products 100%
  • ECommerce Product Variants 100%

Total 100%

Release Notes

.NET Standard 1.3
.NETFramework 4.5

NuGet packages (5)

Showing the top 5 NuGet packages that depend on MailChimp.Net.V3:

Package Downloads
Kartris
Kartris is a free, open source cart system optimized for performance and capable of handling 1,000,000+ SKUs out of the box
UmbracoForm.MailChimp.WorkFlow
Update package for umbraco CMS v8.4.1 * Umbraco Forms v8.1.2 * Mailchimp Integration WorkflowType
UmbracoForm.MailChimp.WorkFlow.v2
Umbraco Forms Mailchimp Integration WorkflowType
Nexme.Communication.Email
Package Description
net3000
For use with Net3000.ca applications only.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
5.0.0 2,103 11/2/2020
4.2.1 187,633 9/17/2019
4.2.0 21,280 7/31/2019
4.1.0 49,744 5/19/2019
4.0.0 29,596 3/28/2019
3.5.0 74,924 12/6/2018
3.4.0 31,996 10/2/2018
3.3.0 69,755 7/14/2018
3.2.0 127,004 3/11/2018
3.1.1-alpha 10,673 11/12/2017
3.1.0-alpha 406 11/11/2017
3.0.0 56,080 9/4/2017
2.1.0 45,592 7/14/2017
2.0.0 36,907 6/6/2017
1.9.5 17,986 3/30/2017
1.9.1 27,289 2/26/2017
1.9.0 12,871 2/13/2017
1.8.5 20,666 12/18/2016
1.8.0 17,181 11/11/2016
1.7.5 55,616 9/22/2016
1.7.1 5,857 8/30/2016
1.7.0 1,494 8/22/2016
1.6.7 4,067 7/24/2016
1.6.6 1,311 7/15/2016
1.6.5 666 7/14/2016
1.6.0 973 7/11/2016
1.5.4 3,875 6/22/2016
1.5.3 899 6/14/2016
1.5.2 649 6/13/2016
1.5.1 597 6/8/2016
1.5.0 1,646 5/31/2016
1.4.5 920 5/9/2016
1.4.4 491 5/5/2016
1.4.3 452 5/5/2016
1.4.2 3,170 5/2/2016
1.4.1 866 4/20/2016
1.4.0 711 4/19/2016
1.3.1 646 4/16/2016
1.3.0 761 3/23/2016
1.2.6 16,794 3/10/2016
1.2.5 927 1/24/2016
1.2.0 664 1/13/2016
1.0.7.1 554 1/6/2016
1.0.7 503 1/6/2016
1.0.6 463 1/5/2016
1.0.5 482 1/4/2016
1.0.4 463 12/31/2015
1.0.3 531 12/22/2015
1.0.1 665 12/17/2015
1.0.0.23958 751 12/16/2015
1.0.0.20990 518 12/22/2015
1.0.0 771 12/16/2015