Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
coderwall-api
Advanced tools
A node.js wrapper for Coderwall's REST API.
Install using the node.js package manager npm:
$ npm install coderwall-api
Or...
Install via git clone:
$ git clone git://github.com/KevinTCoughlin/node-coderwall.git
$ cd node-coderwall
$ npm install
You can install coderwall-api and its dependencies with npm:
$ npm install coderwall-api
Dependencies
Demos of the coderwall-api module are located in /examples
Profile - .getProfile( username, callback )
coderwall.getProfile('kevintcoughlin', function(data) {
console.log(data);
});
Sample JSON Response
{
"username": "kevintcoughlin",
"name": "Kevin T. Coughlin",
"location": "New Jersey",
"endorsements": 0,
"team": null,
"accounts": {
"github": "KevinTCoughlin"
},
"badges": [
{
"name": "Mongoose 3",
"description": "Have at least three original repos where Ruby is the dominant language",
"created": "2013-07-11T12:07:02Z",
"badge": "https://d3levm2kxut31z.cloudfront.net/assets/badges/mongoose3-f4d6bb5a6f9e8ada6c1959f05f36c583.png"
},
{
"name": "Philanthropist",
"description": "Truly improve developer quality of life by sharing at least 50 individual open source projects",
"created": "2013-06-22T03:48:06Z",
"badge": "https://d3levm2kxut31z.cloudfront.net/assets/badges/philanthropist-a8171b1d339c4c70d78a8a67167cbfa3.png"
}
]
}
/**
* Retrieves Coderwall JSON data for the given profile
*/
var Coderwall = require('coderwall-api')
, coderwall = new Coderwall;
/** Retrieves Coderwall Profile JSON for 'kevintcoughlin' */
coderwall.getProfile('kevintcoughlin', function(data) {
console.log(data);
});
/** Retrieves Coderwall Profile JSON for 'isaacs' */
coderwall.getProfile('isaacs', function(data) {
console.log(data);
});
/** Retrieves Coderwall Profile JSON for 'isaacs' */
coderwall.getProfile('naveen', function(data) {
console.log(data);
});
Issue the following Make command in the top directory to run the mocha.js test cases:
$ make test
Coderwall-API: Copyright (c) 2013 Kevin Coughlin
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Coderwall API Client Library for Node.js
The npm package coderwall-api receives a total of 8 weekly downloads. As such, coderwall-api popularity was classified as not popular.
We found that coderwall-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.