1.1.5 • Published 4 years ago

behance-api v1.1.5

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

behance-api

Build Status Coverage Status

Node.js wrapper for the Behance API, see the Behance API docs for more details. In order to use the Behance API you will need to register your application to receive your API key.

Installation

Install package with NPM

npm install behance-api --save

Usage

Making a request looks something like this:

// Dependencies
const Behance = require('behance-api');
const Be = new Behance(API_KEY);

// Get Projects Data
Be.projects({q: 'motorcycle'}, function (err, res, data) {
  if (err) throw err;

  // Do something with the data received from the API
  console.dir(data);
});

The snippet above will make a request to the Behance API and receive the first page of results that match the motorcycle query for the /projects/ endpoint. It then displays that data in the terminal. Every callback gets three arguments; an error (if there is one), the HTTP response, and a JSON object.

API

For documentation around accessing all of the endpoints, see API Docs

License

MIT

1.1.5

4 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago