coderbits

0.1.15 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i coderbits

Weekly Downloads

3

Version

0.1.15

License

MIT

Last publish

Collaborators

  • rodrigo-medeiros