Sha256: e67ed71a2df735254cbdf9ba2b63e11e9d53078d6f838fbe115338302abd2ef4
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
# Wakatime Ruby [](https://codeclimate.com/github/burningpony/wakatime) [](https://travis-ci.org/burningpony/wakatime) An Unofficial Wakatime Ruby API Client ## Installation Add this line to your application's Gemfile: gem 'wakatime' And then execute: $ bundle Or install it yourself as: $ gem install wakatime ## Usage @session = Wakatime::Session.new({ api_key: ENV['wakatime_api_key'] }) @client = Wakatime::Client.new(@session) #### Summary @client.summaries #### Durations @client.durations #### Heartbearts @client.hearbeats #### Current User @client.current_user #### Plugin Data @client.plugins ## Testing 1. Ensure your API Key is in a yaml file in spec/support/account.yml ## Contributing 1. Fork it ( https://github.com/burningpony/wakatime/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 ## Credits Massive Credit to [Ruby Box][https://github.com/attachmentsme/ruby-box] as being a template API client.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wakatime-0.2.2 | README.md |
wakatime-0.2.1 | README.md |