node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

coderbits

coderbits

Build Status

A wrapper for the coderbits API.

The simplest way to programmatically get coderbits profiles in node.js.

Install

npm install coderbits

Usage

var coderbits = require('coderbits');
 
coderbits('bit', function (error, profile) {
  if (!error) console.log(profile);
});

Searches using handles from linked accounts can be done passing the info in a object:

var user = {
  username: 'bitmunkey',
  account: 'github'
};
 
coderbits(user, function (error, profile) {
  if (!error) console.log(profile);
});

If you want the profile already parsed, just add the json option to your search object:

var user = {
  username: 'bit',
  json: true
};

License

Licensed under the MIT license