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

icontact

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icontact

  • 0.0.5
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gem Version Code Climate

Ruby Gem for iContact

For more details, read the iContact API documentation: http://www.icontact.com/developerportal/

Installation

TODO

Examples

Test connection to the API

  client = IContact::Api.new(username, api_password, app_id)
  client.ping

Get all accounts

  client.get_accounts

Get all lists

  client.get_lists

Get a contact

  client.get_contact(contact_id)

Create a contact

  data = { email: 'user@example.com', firstName: 'John', lastName: 'Doe' }
  client.create_contact(data)

Update a contact

  data = { firstName: 'Charlie', lastName: 'Brown', contactId: '8955' }
  client.update_contact(contact_id, data)

Delete a contact

  client.delete_contact(contact_id)

Search for contacts

  client.find_contacts(firstName: 'John')

Create a subscription

  data = { listId: list_id, contactId: contact_id, status: 'normal' }
  client.create_subscription(data)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

FAQs

Package last updated on 03 Dec 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