Mailchimp API v3.0

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Mailchimp API v3.0

stevepiercy
Mailchimp has released v3.0 of its API, and has deprecated all
previous versions.
https://apidocs.mailchimp.com/api/1.3/

     Prior versions will no longer be supported after 2016, so
all API users
     should begin transitioning to v3.0.

I don't know what "no longer supported" means for sure, but it
sounds like "your solution that uses older versions will cease
to work in 2017".  I sent in a request to Mailchimp for clarification.

Before I start writing a compatible version, has anyone done any
work to modify Jason Huck's Mailchimp type to work with
Mailchimp API v3.0 for any version of Lasso?

--steve

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy              Website Builder              Soquel, CA
<[hidden email]>               <http://www.stevepiercy.com/>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

stevepiercy
On 6/26/16 at 1:51 PM, [hidden email] (Steve Piercy - Website Builder) pronounced:

> Mailchimp has released v3.0 of its API, and has deprecated all previous versions.
> https://apidocs.mailchimp.com/api/1.3/
>
>     Prior versions will no longer be supported after 2016, so all API users
>     should begin transitioning to v3.0.
>
> I don't know what "no longer supported" means for sure, but it sounds like "your solution
> that uses older versions will cease to work in 2017".  I sent in a request to Mailchimp
> for clarification.
>
> Before I start writing a compatible version, has anyone done any work to modify Jason
> Huck's Mailchimp type to work with Mailchimp API v3.0 for any version of Lasso?

FWIW, there's a nice Python library that would serve as a good example to follow.
https://pypi.python.org/pypi/mailchimp3/

If anyone is interested in this as an open source project, let me know.

--steve

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy              Website Builder              Soquel, CA
<[hidden email]>               <http://www.stevepiercy.com/>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

stevepiercy
In reply to this post by stevepiercy
On 6/26/16 at 1:51 PM, [hidden email] (Steve Piercy -
Website Builder) pronounced:

>I don't know what "no longer supported" means for sure, but it
>sounds like "your solution that uses older versions will cease
>to work in 2017".  I sent in a request to Mailchimp for clarification.

My intuition has been confirmed by Mailchimp:

     MailChimp will no longer be able to process API 1.x or 2.x
calls. While
     we have not given an exact date yet I can say it will not
be supported
     after 2016 at all.

That means a complete rewrite of Jason Huck's Lasso type for
Mailchimp, as well as rewriting any solutions that implemented it.

--steve

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy              Website Builder              Soquel, CA
<[hidden email]>               <http://www.stevepiercy.com/>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

jasonhuck
We're looking into this on behalf of one of our clients, but at the moment,
I can't say whether we'll be creating a v3 wrapper or not, or what the
timing might be to do so.

- jason


On Tue, Jun 28, 2016 at 12:12 AM, Steve Piercy - Website Builder <
[hidden email]> wrote:

> On 6/26/16 at 1:51 PM, [hidden email] (Steve Piercy - Website
> Builder) pronounced:
>
> I don't know what "no longer supported" means for sure, but it sounds like
>> "your solution that uses older versions will cease to work in 2017".  I
>> sent in a request to Mailchimp for clarification.
>>
>
> My intuition has been confirmed by Mailchimp:
>
>     MailChimp will no longer be able to process API 1.x or 2.x calls. While
>     we have not given an exact date yet I can say it will not be supported
>     after 2016 at all.
>
> That means a complete rewrite of Jason Huck's Lasso type for Mailchimp, as
> well as rewriting any solutions that implemented it.
>
>
> --steve
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Steve Piercy              Website Builder              Soquel, CA
> <[hidden email]>               <http://www.stevepiercy.com/>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

stevepiercy
We're in the same boat.

We're also looking into competitors.

The most likely scenario is to write it in Lasso, limiting the
scope to just the 6 features we use, then update our solutions
accordingly, and open source it so others can contribute the
methods they use.

--steve


On 6/28/16 at 6:53 AM, [hidden email] (Jason Huck) pronounced:

>We're looking into this on behalf of one of our clients, but at the moment,
>I can't say whether we'll be creating a v3 wrapper or not, or what the
>timing might be to do so.
>
>- jason
>
>
>On Tue, Jun 28, 2016 at 12:12 AM, Steve Piercy - Website Builder <
>[hidden email]> wrote:
>
>>On 6/26/16 at 1:51 PM, [hidden email] (Steve Piercy - Website
>>Builder) pronounced:
>>
>>I don't know what "no longer supported" means for sure, but it sounds like
>>> "your solution that uses older versions will cease to work in 2017".  I
>>> sent in a request to Mailchimp for clarification.
>>>
>>
>>My intuition has been confirmed by Mailchimp:
>>
>>MailChimp will no longer be able to process API 1.x or 2.x calls. While
>>we have not given an exact date yet I can say it will not be supported
>>after 2016 at all.
>>
>>That means a complete rewrite of Jason Huck's Lasso type for Mailchimp, as
>>well as rewriting any solutions that implemented it.
>>
>>
>>--steve
>>
>>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>Steve Piercy              Website Builder              Soquel, CA
>><[hidden email]>               <http://www.stevepiercy.com/>
>>
>>
>>#############################################################
>>
>>This message is sent to you because you are subscribed to
>>the mailing list Lasso [hidden email]
>>Official list archives available at http://www.lassotalk.com
>>To unsubscribe, E-mail to: <[hidden email]>
>>Send administrative queries to  <[hidden email]>
>>
>
>#############################################################
>
>This message is sent to you because you are subscribed to
>the mailing list Lasso [hidden email]
>Official list archives available at http://www.lassotalk.com
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy              Website Builder              Soquel, CA
<[hidden email]>               <http://www.stevepiercy.com/>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

Justin Dennis-3
I am not the highest quality coder, but I have written a functional
MailChimp 3 type for Lasso that handles basic subscription functions:

subscribe
unsubscribe
update
resubscribe
mergefields

I also have a webhook processor that handles mailchimp-originated events,
such as bounces and unsubscribes. Together they work for us.

They rely on Brad's http_request and http_response types to make all the
URL calls simpler to work with.

As soon as time permits, I will remove our API keys and company-specific
integrations and post to github.

- Justin

On Tue, Jun 28, 2016 at 2:41 PM, Steve Piercy - Website Builder <
[hidden email]> wrote:

> We're in the same boat.
>
> We're also looking into competitors.
>
> The most likely scenario is to write it in Lasso, limiting the scope to
> just the 6 features we use, then update our solutions accordingly, and open
> source it so others can contribute the methods they use.
>
> --steve
>
>
> On 6/28/16 at 6:53 AM, [hidden email] (Jason Huck) pronounced:
>
>
> We're looking into this on behalf of one of our clients, but at the moment,
>> I can't say whether we'll be creating a v3 wrapper or not, or what the
>> timing might be to do so.
>>
>> - jason
>>
>>
>> On Tue, Jun 28, 2016 at 12:12 AM, Steve Piercy - Website Builder <
>> [hidden email]> wrote:
>>
>> On 6/26/16 at 1:51 PM, [hidden email] (Steve Piercy - Website
>>> Builder) pronounced:
>>>
>>> I don't know what "no longer supported" means for sure, but it sounds
>>> like
>>>
>>>> "your solution that uses older versions will cease to work in 2017".  I
>>>> sent in a request to Mailchimp for clarification.
>>>>
>>>>
>>> My intuition has been confirmed by Mailchimp:
>>>
>>> MailChimp will no longer be able to process API 1.x or 2.x calls. While
>>> we have not given an exact date yet I can say it will not be supported
>>> after 2016 at all.
>>>
>>> That means a complete rewrite of Jason Huck's Lasso type for Mailchimp,
>>> as
>>> well as rewriting any solutions that implemented it.
>>>
>>>
>>> --steve
>>>
>>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>> Steve Piercy              Website Builder              Soquel, CA
>>> <[hidden email]>               <http://www.stevepiercy.com/>
>>>
>>>
>>> #############################################################
>>>
>>> This message is sent to you because you are subscribed to
>>> the mailing list Lasso [hidden email]
>>> Official list archives available at http://www.lassotalk.com
>>> To unsubscribe, E-mail to: <[hidden email]>
>>> Send administrative queries to  <[hidden email]>
>>>
>>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Steve Piercy              Website Builder              Soquel, CA
> <[hidden email]>               <http://www.stevepiercy.com/>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

Justin Dennis-3
https://github.com/atpjd/lasso-mailchimp

On Wed, Jun 29, 2016 at 7:09 AM, Justin Dennis <[hidden email]> wrote:

> I am not the highest quality coder, but I have written a functional
> MailChimp 3 type for Lasso that handles basic subscription functions:
>
> subscribe
> unsubscribe
> update
> resubscribe
> mergefields
>
> I also have a webhook processor that handles mailchimp-originated events,
> such as bounces and unsubscribes. Together they work for us.
>
> They rely on Brad's http_request and http_response types to make all the
> URL calls simpler to work with.
>
> As soon as time permits, I will remove our API keys and company-specific
> integrations and post to github.
>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

jasonhuck
For anyone who needs it, I put together a very simple Mailchimp wrapper for
Lasso 8.x, based on a PHP implementation I found. It's not a drop-in
replacement for the previous version, but it was a reasonable way to wrap
the bulk of the API (everything except batch operations and webhooks)
without writing a ton of code.

The way it works is very simple: there are methods for each kind of HTTP
verb required by the API. Each of these accepts a "method" param, which is
the API endpoint you need to access, and an "args" param, which is a map of
options. It returns the full, decoded response, and stores the headers in
an instance variable in case you need to inspect them. I thought I would
have to use curl via [os_process] for the more exotic verbs, but MailChimp
allows you to simulate PUT, PATCH, and DELETE calls via POST with an extra
MIME header, so it just uses plain old [include_url] for everything.

The custom type and a few examples are on GitHub:
https://gist.github.com/jasonhuck/a6d8f5d96d812dd9af29ebe8efec4ce9

I've verified that it works with a number of different CRUD operations for
campaigns, lists, and reports, and have ironed out a handful of minor
issues along the way. It seems to be working pretty well, but hasn't been
extensively battle tested yet.

- jason




On Wed, Jun 29, 2016 at 7:32 AM, Justin Dennis <[hidden email]> wrote:

> https://github.com/atpjd/lasso-mailchimp
>
> On Wed, Jun 29, 2016 at 7:09 AM, Justin Dennis <[hidden email]> wrote:
>
> > I am not the highest quality coder, but I have written a functional
> > MailChimp 3 type for Lasso that handles basic subscription functions:
> >
> > subscribe
> > unsubscribe
> > update
> > resubscribe
> > mergefields
> >
> > I also have a webhook processor that handles mailchimp-originated events,
> > such as bounces and unsubscribes. Together they work for us.
> >
> > They rely on Brad's http_request and http_response types to make all the
> > URL calls simpler to work with.
> >
> > As soon as time permits, I will remove our API keys and company-specific
> > integrations and post to github.
> >
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mailchimp API v3.0

Black Night Lists
Nice one, I have downloaded it and will check it out.

> On 18 Jul 2016, at 19:31, Jason Huck <[hidden email]> wrote:
>
> For anyone who needs it, I put together a very simple Mailchimp wrapper for
> Lasso 8.x, based on a PHP implementation I found. It's not a drop-in
> replacement for the previous version, but it was a reasonable way to wrap
> the bulk of the API (everything except batch operations and webhooks)
> without writing a ton of code.
>
> The way it works is very simple: there are methods for each kind of HTTP
> verb required by the API. Each of these accepts a "method" param, which is
> the API endpoint you need to access, and an "args" param, which is a map of
> options. It returns the full, decoded response, and stores the headers in
> an instance variable in case you need to inspect them. I thought I would
> have to use curl via [os_process] for the more exotic verbs, but MailChimp
> allows you to simulate PUT, PATCH, and DELETE calls via POST with an extra
> MIME header, so it just uses plain old [include_url] for everything.
>
> The custom type and a few examples are on GitHub:
> https://gist.github.com/jasonhuck/a6d8f5d96d812dd9af29ebe8efec4ce9
>
> I've verified that it works with a number of different CRUD operations for
> campaigns, lists, and reports, and have ironed out a handful of minor
> issues along the way. It seems to be working pretty well, but hasn't been
> extensively battle tested yet.


Regards

Stephen Thirlwell
Black Night Software
http://www.blacknight.co.uk








#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Loading...