Introduction
Bamboozled-cr is a Crystal port of the Ruby wrapper Bamboozled.
Both are an HTTP Client library for the BambooHR API.
Installation
- Add the dependency to your
shard.yml
:
dependencies:
bamboozled:
github: mdwagner/bamboozled-cr
- 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
- Fork it (https://github.com/mdwagner/bamboozled-cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Michael Wagner - creator and maintainer