Goal
Improve ease of use and functionality for ASP.NET users of the MailChimp API by providing a class library wrapper.
Approach
- Use .NET classes to wrap functionality of the API, pass input parameters, and output results.
- Provide for both Xml-Rpc and Serial (GET/POST) access to API information via strongly type classes for input that format and create the appropriate API calls for you. Multiple class signatures provided.
- Provide a consistent output type, using .Net generic types in place of arrays and structs; e.g., List<string> instead of string[], Dictionary<string, string> for associative arrays, etc.
- Provide choice of unformatted output types; XML, JSON, and PHP.
- Provide custom default values that can override MailChimp api defaults; e.g., limit=200 vs. 1000.
- Provide validation (selectable, on/off) for parameter completeness and type checking.
- Return wrapper validation messages and returned API errors messages as generic lists for ease of checking and reporting.
- Results, other than simple integer, string or Boolean values, are defined as custom classes making them easier to use, especially in data bound controls.
