vsouza / go-lambda-mailchimp

Simple AWS lambda written in golang to subscribe users on Mailchimp list - Made with Apex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang AWS Lambda Mailchimp subscriber

License

Simple AWS lambda written in golang to subscribe users on Mailchimp list

To deploy and test you can use Apex :)

Install

At the first, you need to install Apex, it's very simple:

curl https://raw.githubusercontent.com/apex/apex/master/install.sh | sh

After configure your AWS Credentials, then run:

apex deploy

Run Locally

create a event.json file like this:

{"email_address": "email@vsouza.com", "status": "subscribed", "merge_fields": {"FNAME": "Vinicius Souza"}}

save on project root folder.

Then run:

apex invoke newsletter-subscribe < event.json

Release History

  • 0.0.1
    • Subscribe users with first name on mailchimp 3.0 API

Meta

Vinicius Souza – @iamvsouzahi@vsouza.com

Distributed under the MIT license. See License

https://github.com/vsouza

About

Simple AWS lambda written in golang to subscribe users on Mailchimp list - Made with Apex

License:MIT License


Languages

Language:Go 100.0%