0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for NationBuilder API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.6
~> 9.0, >= 9.0.6
~> 2.4, >= 2.4.7
~> 3.0, >= 3.0.1

Runtime

~> 2.1
>= 0
 Project Readme

nation_builder

A very simple ruby gem for interacting with NB people API.

http://nationbuilder.com/api_documentation

Usage

require 'nation_builder'
client = NationBuilder.new(hostname: 'whatever.nationbuilder.com', client_id: 'id', client_secret: 'secret', username: 'you@nation.com', password: 'pass')
client.people.create('person' => {'first_name' => 'George', 'last_name' => 'Washington', 'email' => 'george@washington.com'})
client.people.match('email' => 'george@washington.com) # either a person hash or nil. 
client.people.list # returns people in nation
client.tags.list # all tags.

Contributing

The current gem is minimalist -- but we'd welcome pull requests with additional functionality!

CI Status

Release

rake version:bump:minor
BRANCH=main rake release

Copyright

Copyright (c) 2013 ControlShift Ltd. See LICENSE.txt for further details.