Giter Site home page Giter Site logo

dawesi / mailchimpv3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akitogo/mailchimpv3

0.0 1.0 0.0 87 KB

Feature complete Mailchimp Api 3.0 Wrapper for Coldfusion Coldbox

License: GNU General Public License v3.0

ColdFusion 79.53% HTML 20.47%

mailchimpv3's Introduction

mailchimpV3

A feature complete Mailchimp Api 3.0 Wrapper for Coldfusion Coldbox.

There are a few Coldfusion implementations for Mailchimp but they are all far from being feature complete.

The api is loosely based on https://github.com/kevindb/cf-mailchimp and https://github.com/thinkshout/mailchimp-api-php

All API endpoints are supported

  • Automations
  • CampaignFolders
  • Campaigns
  • Conversations
  • Ecommerce
  • FileManagerFiles
  • FileManagerFolders
  • Lists
  • Mailchimp
  • Reports
  • Search Campaigns (see campaigns)
  • Search Members (see lists)
  • TemplateFolders
  • Templates

Installation

This ColdBox Module can be installed using CommandBox:

box install mailchimpV3

ColdBox Module

If you are using Coldbox 4.3 or later, we recommend to setup the Api in your central Coldbox.cfc config like

 	moduleSettings = {
    		mailchimpV3 = {
        		apikey='YOUR API Key goes here'
    	  	}

Tests

Mailchimp doesn't offer a sandbox, so all test run in the account associated with the API key. It a test fails it might leave a test list with entries which can be safely deleted.

Usage

/**
* A normal ColdBox Event Handler
*/
component{
	property name="mailchimpLists" inject="lists@mailchimpv3";
	
	function index(event,rc,prc){
	
		// gets all lists
    		var results = mailchimpLists.getLists();
	  		writeDump(results);
	  	
	  	// just return email addresses from abuse reports	
		var abuseReports = lists.getAbuseReports('INSERT LIST ID HERE','abuse_reports.email_address');
		writeDump(abuseReports);	  		
		abort;
	}
}

Versions

  • 1.0 11th Sep 2017 Tests with TestBox. Ecommerce and other remaining models are now implemented!
  • 0.9 01th Sep 2017 Lists and Campaigns. Now can load Template and send a Campaign!
  • 0.8 30th Aug 2017 fixes for put, updated Campaigns,FileManager, etc
  • 0.7 25th Aug 2017 Added methods in Automations, CampaignFolders, Conversations

Written by

www.akitogo.com

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

mailchimpv3's People

Contributors

gunnarlieb avatar akidmitry avatar bdw429s avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.