bamboozled-cr v0.2.0

Crystal port of the Ruby bamboozled wrapper for the BambooHR API.

bamboozled-cr

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@example.com")
# => 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

Repository

bamboozled-cr

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 2
  • over 1 year ago
  • January 17, 2021
License

MIT License

Links
Synced at

Thu, 02 May 2024 08:02:39 GMT

Languages