Simple library for use behance api in node.
Install
npm install node-behance
Alternatively,
npm install https://github.com/pedroparra/node-behance
Set Up
var Behance = require("node-behance"); var keys = { "client_id": "9q8RIfKZf1zxVw1LlEqRi6xUyF87jkay", "client_secret":"" } var behance = new Behance(keys);
Usage
// Get Proyects behance.get('projects', function(result){ console.log(result); }); // Get Proyects with filters behance.get('projects', {"q":"dog", "tags":"cool", "color_hex":"#000" }, function(result){ console.log(result); }); // Get Users behance.get('users', { "country":"spain", "sort":"followed" }, function(result){ console.log(result); }); // Pagination behance.get('users', { "country":"spain", "sort":"followed", "page":"2" }, function(result){ console.log(result); });
Methods
For More Methods refer to https://www.behance.net/dev/api/console
Test
npm test
Future Implementations
- Method with POST, DELETE ..etc - Suggestions ...