danesparza / MailChimp.NET

:envelope: .NET Wrapper for the MailChimp v2.0 API
MIT License
179 stars 118 forks source link

ListInfo.ListStats #57

Open DDtMM opened 10 years ago

DDtMM commented 10 years ago

ListInfo.ListStats doesn't seem to correspond with the response from mailChimp api [http://apidocs.mailchimp.com/api/2.0/lists/list.php].

For example date_last_campaign isn't in the documentation at all (and probably should be string not int), and all of the numeric values are doubles not ints. Some logicially should be ints like GroupCount, but ClickRate,OpenRate,TargetSubRate,AvgUnsubRate,AvgSubRate all come in as doubles and turn to 0 when serialized by the api.

DDtMM commented 10 years ago

Converting date_last_campaign to a string actually got a result, while only open_rate and click_rate come in as trouble doubles, though that might just be because I have a limited sample.