Welcome Guest, Not a member yet? Register   Sign In
Mailchimp API Version 1.2 Library
#7

[eluser]darkhouse[/eluser]
Good work, I see what you did, you basically just incorporated CI into their API. The way I did mine was I loaded their class and created an api instance and then wrote a few functions to run things from the api instance. The good thing about my way is that if they add new methods to their class, it's just a drop in replacement. But I also had to write my own methods to do things which is a little redundant. One function in particular that I added (unless I'm missing it) is the ability to search for a specific list and get the id. It just loops through the results of lists method and compares the list name with whatever name you're searching, and returns the list id when it finds a match. I really don't know why they don't have that ability natively.

Anyways, good work.


Messages In This Thread
Mailchimp API Version 1.2 Library - by El Forum - 08-15-2010, 01:55 PM
Mailchimp API Version 1.2 Library - by El Forum - 08-18-2010, 09:07 AM
Mailchimp API Version 1.2 Library - by El Forum - 08-18-2010, 01:49 PM
Mailchimp API Version 1.2 Library - by El Forum - 08-18-2010, 02:26 PM
Mailchimp API Version 1.2 Library - by El Forum - 08-20-2010, 05:38 AM
Mailchimp API Version 1.2 Library - by El Forum - 08-21-2010, 05:03 PM
Mailchimp API Version 1.2 Library - by El Forum - 08-21-2010, 05:17 PM
Mailchimp API Version 1.2 Library - by El Forum - 08-24-2010, 04:59 PM
Mailchimp API Version 1.2 Library - by El Forum - 08-29-2010, 07:39 PM
Mailchimp API Version 1.2 Library - by El Forum - 09-09-2010, 05:51 AM
Mailchimp API Version 1.2 Library - by El Forum - 10-15-2010, 12:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB