Introduction

Bamboozled-cr is a Crystal port of the Ruby wrapper Bamboozled.

Both are an HTTP Client library for the BambooHR API.

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  bamboozled:
    github: mdwagner/bamboozled-cr
  1. Run shards install

Usage

require "bamboozled"

client = Bamboozled.client("my-subdomain", "my-api-key")

client.employee.photo_url("[email protected]")
# => http://my-subdomain.bamboohr.com/employees/photos?h=ba9bb45673e99e6fad7251bf8ea40f89

Please checkout the spec/bamboozled/api directory for more examples.

Also, checkout the Ruby wrapper usage as well.

Documentation

Every push to master deploys the latest documentation to GitHub Pages

Contributing

  1. Fork it (https://github.com/mdwagner/bamboozled-cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors