akitogo/mailchimpV3

Host should be derived from API key

dawesi opened this issue · 2 comments

by using listLast(apikey,'-') you can obtain the dc for the mailchimp account

the hard coded references to us1 can then be removed permanently.
eg:
https://us1.api.mailchimp.com/3.0/

should be:
https://#dc#.api.mailchimp.com/3.0/ - put appropriate variable here

Please see line 25 in Mailchimp.cfc. It's already there

Will add comment to cfc