Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A project to access The City Admin API
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.yardoc
examples
lib
spec
.gitignore
.pryrc
.rspec
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
README.md
README.rdoc
Rakefile
thecity_admin_api.gemspec

README.md

Build Status Coverage Status

The City Admin API

This Ruby project is an API wrapper for TheCity Admin API (https://api.onthecity.org)

Install / Setup

Installing the gem

gem install the-city-admin

To add it to your Gemfile

gem 'the-city-admin', :require => 'the_city_admin'

Add your church's City API Token and API Key to [RAILS_ROOT]/config/initializers/thecity_config.rb

THECITY_KEY = '**** YOUR CITY API KEY ****'
THECITY_TOKEN = '**** YOUR CITY API TOKEN ****'

Next you will need to initialize a connection

TheCity::AdminApi.connect(THECITY_KEY, THECITY_TOKEN)

Example usage

Checkout the examples folder.

Additional resources

License

This project is released under the MIT license (see LICENSE).

This project is maintained by Wes Hays (https://github.com/weshays) and Jason Hagglund (https://github.com/TheMetalCode).

Contributors

Chris Morris: https://github.com/chrismo

Want to Contribute?

If you would like to get involved in this project, then please fork the project. Make changes, add features, write some tests, and then send us a pull request.

Something went wrong with that request. Please try again.