Hi to all, I've downloaded PerceptiveMCAPI wrapper for the MailChimp API and I'm trying to get first, basic, step: adding a subscriber to my MailChimp List.
I've got my API Key and I've got my list Unique ID.
I've found a tutorial and I've copied the following code:
Private Sub listBatchSubscribe_method()
Dim input As listBatchSubscribeInput = New listBatchSubscribeInput()
' any directive overrides
.api_Validate = True
.api_AccessType = EnumValues.AccessType.Serial
.api_OutputType = EnumValues.OutputType.JSON
' method parameters
.parms.apikey = Settings.MailchimpAPIKey
.parms.id = Settings.MailchimpUniqueIDList
.parms.double_optin = False
.parms.replace_interests = True
.parms.update_existing = True
Dim batch As List(Of Dictionary(Of String, Object)) = New List(Of Dictionary(Of String, Object))
Dim entry As Dictionary(Of String, Object) = New Dictionary(Of String, Object)
Dim RagSociale As String = "Pandora"
input.parms.batch = batch
Dim cmd As listBatchSubscribe = New listBatchSubscribe(input)
Dim output As listBatchSubscribeOutput = cmd.Execute()
' output, format with user control
It doesn't work :-(
Can someone help me get subscribing a new record in my MailChimp list?
Thanks to all.
Because you're a "newbie" I would ask you this:
> Why would you try a library that was never updated for more than 2 years?
MCAPI.NET is another MailChimp Library and it has much more development. plus it has a nuget package as well and it's really simple to use. As I said before around here I already have given up this library (PerceptiveMCAPI), even have sent them an email
a year ago asking permissions to take it further but nothing happen, so I started to use the other one and I'm very happy :)
Give it a try:
Thanks A LOT!
I hope I'll be happy too :-)
I've downloaded MCAPI.NET dll but it works only with framework 4.0! :-(
Any other solutions for framework 3.5???