CoderWally

Build Status

Gem Version Coverage Status Code Climate Dependency Status Inline docs coder_wally API Documentation

A very very simple Gem to fetch user badges from Coder Wall

Installation

Add this line to your application's Gemfile:

gem 'coder_wally'

And then execute:

$ bundle

Or install it yourself as:

$ gem install coder_wally

Usage

After installing the Gem, you can for now you can invoke it (remember to replace with you a valid username) from the command line using:

ruby -Ilib bin/coder_wally <username>

In order to get a user's badges, you do this:

client = CoderWally::Client.new(<username>)
client.user.badges

In order to get a user's details, you do this:

client = CoderWally::Client.new(<username>)
client.user.details

In order to get a user's accounts, you do this:

client = CoderWally::Client.new(<username>)
client.user.accounts

In order to get everything (for now user, accounts and badges), you do this:

client = CoderWally::Client.new(<username>)
client.user

Contributing

  1. Fork it ( https://github.com/gregstewart/coder_wally/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