All Projects → kevindb → cf-mailchimp

kevindb / cf-mailchimp

Licence: LGPL-2.1 license
ColdFusion wrapper for the MailChimp 3.0 API

Programming Languages

ColdFusion
112 projects

Projects that are alternatives of or similar to cf-mailchimp

mailchimp-marketing-python
The official Python client library for the Mailchimp Marketing API
Stars: ✭ 66 (+288.24%)
Mutual labels:  mailchimp, mailchimp-api
mailchimp-marketing-php
The official PHP client library for the Mailchimp Marketing API
Stars: ✭ 88 (+417.65%)
Mutual labels:  mailchimp, mailchimp-api
mailchimp-marketing-node
The official Node.js client library for the Mailchimp Marketing API
Stars: ✭ 106 (+523.53%)
Mutual labels:  mailchimp, mailchimp-api
mailchimp-marketing-ruby
The official Ruby client library for the Mailchimp Marketing API
Stars: ✭ 25 (+47.06%)
Mutual labels:  mailchimp, mailchimp-api
cfml-tags-to-cfscript
A collection of examples defining how to convert CFML code blocks written in tags to CFScript.
Stars: ✭ 30 (+76.47%)
Mutual labels:  coldfusion, lucee
core
FarCry Core: a web app framework for the ColdFusion language (supporting Lucee & Adobe ColdFusion engines). An ideal platform for building bespoke or tailor made solutions.
Stars: ✭ 34 (+100%)
Mutual labels:  coldfusion, lucee
mailchimp
A basic Elixir wrapper for version 3 of the MailChimp API
Stars: ✭ 42 (+147.06%)
Mutual labels:  mailchimp, mailchimp-api
mailchimp-bundle
MailChimp integration with Symfony and MailChimp API V3
Stars: ✭ 40 (+135.29%)
Mutual labels:  mailchimp, mailchimp-api
Mailchimp Api
Super-simple, minimum abstraction MailChimp API v3 wrapper, in PHP
Stars: ✭ 1,977 (+11529.41%)
Mutual labels:  mailchimp, mailchimp-api
cfwheels-example-app
A CFWheels 2.x App with user management, role based permissions and password resets
Stars: ✭ 17 (+0%)
Mutual labels:  coldfusion, lucee
lucee-docs
Source and build scripts for Lucee's documentation.
Stars: ✭ 39 (+129.41%)
Mutual labels:  coldfusion, lucee
libdrizzle-redux
The next generation of Libdrizzle with a simplified API and support for more features of the protocol
Stars: ✭ 14 (-17.65%)
Mutual labels:  api-wrapper
wikipedia-reference-scraper
Wikipedia API wrapper for references
Stars: ✭ 34 (+100%)
Mutual labels:  api-wrapper
messages
A python package designed to make sending messages easy and efficient!
Stars: ✭ 38 (+123.53%)
Mutual labels:  api-wrapper
cpAPI
A Flask API that gives updates about the upcoming contests on various Coding Platforms.
Stars: ✭ 13 (-23.53%)
Mutual labels:  api-wrapper
lucee-websocket
Enables server WebSockets for Lucee via JSR-356 compliant servlet containers (e.g. Tomcat 8, Jetty 9.1, etc.)
Stars: ✭ 16 (-5.88%)
Mutual labels:  lucee
newsapi-php
A PHP client for the News API (https://newsapi.org/docs/get-started)
Stars: ✭ 21 (+23.53%)
Mutual labels:  api-wrapper
knowledgeworks api
The API utils for querying CN-DBpedia & CN-Probase, the biggest Chinese knowledge bases
Stars: ✭ 24 (+41.18%)
Mutual labels:  api-wrapper
coldfusion-10-11-xss
Proof of Concept code for CVE-2015-0345 (APSB15-07)
Stars: ✭ 22 (+29.41%)
Mutual labels:  coldfusion
hata
Async Discord API wrapper.
Stars: ✭ 156 (+817.65%)
Mutual labels:  api-wrapper

CF MailChimp

ColdFusion wrapper for the MailChimp 3.0 API

Work in Progress

This wrapper is a work in progress. I have prioritized building out the features needed for my projects. If there is a feature that you would like added, please open an issue or submit a pull request.

List of available methods

  • getLists - Retrieves all lists in the account
  • getList - Retrieves information about the specified list
  • getListMembers - Retrieves a list of all members of the specified list
  • getListMember - Retrieves details on a single member of the specified list
  • putListMembers - Uses a batch operation to add or update multiple members of the specified list
  • putListMember - Adds or updates a single member to the specified list
  • getMemberIdFromEmail - Generates the member ID, the MD5 hash of the email address
  • getGroups - Retrieves a list of all interest groups of the specified list
  • getGroup - Retrieves details on a single interest group of the specified list
  • getInterests - Retrieves a list of all interests in the specified group
  • getInterest - Retrieves details on a single interest in the specified group

Requirements

I have only tested on Adobe ColdFusion 11. I am confident that the wrapper will work in Lucee/Railo 4. It may work in ACF 10 and will NOT work in ACF 9-.

JSONUtil Dependency

CF MailChimp uses the JSONUtil library for JSON serialization/deserialization instead of ColdFusion's built-in serializer. MailChimp's API will reject data being sent as a boolean or numeric value when it is expecting a string. CF's serializer frequently and silently converts variable types and cannot be controlled.

If you put JSONUtil.cfc in the same folder as mailchimp.cfc, it will be found automatically.
If you want to keep JSONUtil.cfc in a different folder, then add the argument jsonUtil to your init, and pass it the normal ColdFusion dot-delimited path to the component.

If JSONUtil.cfc cannot be found, CF MailChimp will fall back to using ColdFusion's built-in serializer.

Community

Want to contribute to CF MailChimp? Awesome! See CONTRIBUTING for more information.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct to ensure that this project is a welcoming place for everyone to contribute to. By participating in this project you agree to abide by its terms.

Usage

mc = new mailchimp(
	apiKey = "YOURAPIKEY",	// see http://kb.mailchimp.com/accounts/management/about-api-keys
	serviceURL = "https://us1.api.mailchimp.com/3.0/",
	debug = true			// note debug setting
);

lists = mc.getLists();

newMember = mc.putListMember(
	listId = "YOURLISTID",	// see http://kb.mailchimp.com/lists/managing-subscribers/find-your-list-id
	data = {
		"email_address" = "[email protected]",
		"status" = "subscribed",
		"merge_fields" = {
			"FNAME" = "Hey",
			"Now" = "Finley",
			"COMPANY" = "Acme"
		}
	}
);

Resources

Contributors

This project is based on previous work by others. See CONTRIBUTORS for details.

License

This repository is licensed under the GNU Lesser General Public License v2.1. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].