Skip to main content

ExactTarget CLI Tool

Project description

https://travis-ci.org/tzmfreedom/et-cli.svg?branch=master

ExactTarget CLI Tool. This tool use FuelSDK(https://github.com/salesforce-marketingcloud/FuelSDK-Python).

Requirements

Python 2.7.x

Installation

You can use pip to install et-cli:

$ pip install et-cli

Configuration

$ et configure

‘et configure’ command create configure file in your home directory(~/.fuelsdk/config.python).

Usage

Describe all DataExtension:

$ et describe_all_de

Retrive all rows for DataExtension:

$ et retrieve_de -c DATAEXTENSION_EXTERNALKEY

Retrive sent event for triggered send:

$ et retrieve_sentevent -c TRIGGERED_SEND_EXTERNALKEY

Retrive open event for triggered send:

$ et retrieve_openevent -c TRIGGERED_SEND_EXTERNALKEY

Retrive bounce event for triggered send:

$ et retrieve_bounceevent -c TRIGGERED_SEND_EXTERNALKEY

Retrieve Subscribers:

$ et retrieve_subs

Describe DataExtension fields:

$ et describe_fields -c DATAEXTENSION_EXTERNALKEY

Push message to mobile device:

$ et push_message -m MESSAGE_ID -s SUBSCRIBER_KEY

$ et push_message -m MESSAGE_ID -d DEVICE_TOKEN

Send Email with TriggeredSend:

$ echo '{"foo":"bar"}' | et triggered_send -c TRIGGERED_SEND_EXTERNAL_KEY \
-s SUBSCRIBER_KEY -e EMAIL_ADDRESS -a

$ et triggered_send -c TRIGGERED_SEND_EXTERNAL_KEY -s SUBSCRIBER_KEY \
-e EMAIL_ADDRESS -a ATTRIBUTE_FILENAME

Fire event for JourneyBuilder Interaction:

$ echo '{"foo":"bar"}' | et fire_event -e EVENT_DEFINITION_KEY -s SUBSCRIBER_KEY

$ et fire_event -e EVENT_DEFINITION_KEY -s SUBSCRIBER_KEY -d DATA_FILENAME

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

et-cli-0.0.7.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file et-cli-0.0.7.tar.gz.

File metadata

  • Download URL: et-cli-0.0.7.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for et-cli-0.0.7.tar.gz
Algorithm Hash digest
SHA256 9292c69f8f5faf3c2a57e639a5cff816a7dd7cf7cff9c2d6046355eae0a243f6
MD5 eeb0b9ec22974112d059268abbc3872c
BLAKE2b-256 9a76595fa08141fe0a819958eabfd39915279e0a921a8a21ed65889ce09bc892

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page