coderbits
v0.1.15
Published
A wrapper for the coderbits API
Downloads
10
Maintainers
Readme
coderbits
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