Skip to content
This is a simple Ruby wrapper around the GatherContent API.
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
gathercontent-api-client.rb

README.md

This is a simple Ruby wrapper around the GatherContent API.

Download and then:

  1. add your API key as an environment variable. You can get this from https://YOUR_SUBDOMAIN.gathercontent.com/settings/api
  2. replace 'philwilson' in the line starting api = GatherContentApi.new with whatever your GatherContent subdomain is - API calls are restricted by API key and subdomain!
  3. 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.

You can’t perform that action at this time.