Low commit activity in last 3 years
A long-lived project that still receives updates
Client gem for the ENS API to Engaging Networks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

engaging-networks-rest

Client gem for the ENS API to Engaging Networks

CI Status

Install

gem install engaging-networks-rest

Usage

client = EngagingNetworksRest.new(api_key: 'YOUR API KEY HERE', host: 'us.engagingnetworks.app')

# get pages by type
pages = client.pages(type: 'dcf', status: 'live')

# process a page request
response = client.process_page_request(page_id: 12345, body: {supporter: {first_name: 'Alice'}})

The client will call authentication endpoint behind the scenes the first time it makes a request. Currently, it does not attempt to check if its token is still valid for later requests. It is possible to force re-authentication with client.authenticate!.