New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

turingstudio-campaign_monitor

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turingstudio-campaign_monitor

  • 1.3.1
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

= campaign_monitor

This RubyGem provides access to the Campaign Monitor API (http://www.campaignmonitor.com/api).

Campaign Monitor recently made some changes to their API.

This fork makes the following changes:

* host changed from http://app.campaignmonitor.com to http://api.createsend.com
* ID values are no longer sent #to_i because they are hex strings
* added support for subscribers with custom fields using SOAP API
* refactored gemspec to build on github
* misc. cleanup and refactoring

== Pre-requisites

An account with Campaign Monitor and the API Key. Accounts are free and can be created at http://www.campaignmonitor.com.

== Resources

=== Install gem install turingstudio-campaign_monitor

=== Git Repository http://github.com/turingstudio/campaign-monitor-ruby

== Usage

cm = CampaignMonitor.new # assumes you've set CAMPAIGN_MONITOR_API_KEY in your project

for client in cm.clients for list in client.lists client.name # => returns the name

  # modify a subscriber list
  list.add_subscriber(email, name, custom_fields_hash)
  list.remove_subscriber(email)
  list.add_and_resubscribe(email, name, custom_fields_hash)

  # get subscriber list details
  subscribers = list.active_subscribers(since_time)
  unsubscribed = list.unsubscribed(since_time)
  bounced = list.bounced(since_time)
end

for campaign in client.campaigns

end

end

FAQs

Package last updated on 10 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc