/constantcontact

Simple plugin to use ConstantContact (CC) API in your Rails Apps

Primary LanguageRubyMIT LicenseMIT

ConstantContact
===============

Simple plugin to use ConstantContact (CC) API in your Rails Apps


Installation
============
1) cd RAILS_APP

2) ruby script/plugin install git@github.com:pash/constantcontact.git


Example
=======
1) Initialize
cc = ConstantContact::Connect.new(username, password, key)

2) Get CC Contacts
cc.get_contacts

3) Get CC Campaigns
cc.get_campaigns(STATUS)

STATUS can be 'DRAFT', 'SENT', 'RUNNING' or 'SCHEDULED'

4) Get CC Lists
cc.get_lists


Requires
========

1) gem install nokogiri


TO DO (random order)
====================

1) Schedule Campaign

2) Show Reports

3) Add Contacts

4) Add Lists



Copyright (c) 2010 [Patrick Philip Sanchez], released under the MIT license