This is a simple Ruby wrapper around the GatherContent API.
Download and then:
- add your API key as an environment variable. You can get this from
- replace 'philwilson' in the line starting
api = GatherContentApi.newwith whatever your GatherContent subdomain is - API calls are restricted by API key and subdomain!
- Run these commands:
$ gem install httparty $ gem install hashie $ ruby gathercontent-api-client.rb
and you're done!
HTTParty is an awesome HTTP client.
Hashie gives us Mash, which helps us convert Hashes (including nested hashes) into objects.