0.0
No commit activity in last 3 years
No release in over 3 years
A simple gem to fetch user badges from Coder Wall
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.8.0
~> 5.8.3
~> 10.4.2
~> 1.22.2
 Project Readme

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