hapi-mailchimp-simple-subscribe
One-liner to add a simple subscribe call to a mailchimp list.
Last updated 6 years ago by leichtgewicht .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hapi-mailchimp-simple-subscribe 
SYNC missed versions from official npm registry.

hapi-mailchimp-simple-subscribe

server.pack.register({
    plugin: require("hapi-mailchimp-simple-subscribe"),
    options: {
        apiKey: "mailchimp-api-key",
        listId: "id-of-your-mailchimp-list"
    }
}, {
    route: {
        prefix: "/ml"
    }
});

And you should be able to do a push request to "/ml/subscribe" with "mail=a.mail@you.com".

Cheers!

Current Tags

  • 0.0.1                                ...           latest (6 years ago)

1 Versions

  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |