0.0
No commit activity in last 3 years
No release in over 3 years
ExactTarget is a client system for communicating with the ExactTarget email system. The client supports the most up-to-date XML API and is capable of uploading email pastes, images and retrieving lists of subscribers, emails and more.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.6.0
>= 1.4.4
>= 0.9.9
>= 2.11.3
>= 0.6.8
 Project Readme

No Longer Maintained¶ ↑

This repository is no longer maintained and kept only for reference purposes.

ExactTarget – Ruby wrapper for the ExactTarget XML API¶ ↑

ExactTarget is a library for communicating with the ExactTarget email system. The library supports the most up-to-date XML API and is capable of uploading email pastes, images and retrieving lists of subscribers, emails and more.

Download and installation¶ ↑

The latest version of ExactTarget can be installed with Rubygems:

[sudo] gem install exacttarget

Source code can be downloaded on GitHub

Example Usage¶ ↑

# Setup a new client:
client = ExactTarget.new(
  :username     => 'username',
  :password     => 'password',
  :ftp_username => '123456',
  :ftp_password => '123456',
  :ftp_name     => ExactTarget::FTP_ENHANCED_NAME,
  :ftp_uri      => ExactTarget::FTP_ENHANCED_URI,
  :ftp_path     => ExactTarget::FTP_ENHANCED_PATH
)

# Create a new email:
email_id = client.email_create 'New', 'Hi there.', '<html><div>Foo</div></html>'

# Find subscriber lists containing
# the keyword "Test" in their name:
lists = client.list_find_by_name 'Test'

# Send that email to each list:
client.email_send :id => email_id, :include => (lists.map { |list| list[:id] })

License¶ ↑

ExactTarget is released under the MIT license. See LICENSE.txt for further details.

Support¶ ↑

Provided through RubyDoc: