Yes, it is still an unfinished version (v.0.99) I only implemented methods we actually needed for client work. If anything is missing and you add to it, please share with the rest of us.
Available Methods for interaction with Mailchimp API
- login (depricated in MCApi.1.2)
Earlier this week a fellow programmer pointed out to me just how far behind the posted version of this CFC was, that I had to jump to action and share my updated version, that we us now since December 2010.
The 1.2 invocation codeI still need to read up about v1.3 changes of the API.
<cfset url= "http://#listlast(application.mc.apiKey, "-")#.api.mailchimp.com/1.2/">
<cfset output = "xml">
<cfset mp = createObject("component","components.mailchimp099").init(apiKey,url,output)>
<cfset qryMylists = mp.lists(apikey)>
For Groups of a specific list
<cfset interestgroups = mp.listInterestGroups(apikey,listid)>
<cfloop from="1" to="#ArrayLen(interestgroups.groups)#" index="g">
A set of Templates:
<cfset qryMyTemplates = mp.listTemplates(application.mc.apikey)>
You can also follow me on Twitter: @bph
Stay in touch!