Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

behance

Craigtut7MIT0.0.1

Promise based access to behance's api

behance, behance-api

readme

Behance Api

This is a promise based library for both browser and node (not work, wip) environments for pulling down data from Behance.

Installation

npm install -S behance

... or yarn if you want

Setup

import Behance from 'behance';
const params = { apiKey: 'sodosopah' }
const behance = new Behance(params)

params:

Key Type Description Required
apiKey string Your developers api key. You can get one here - Behance Api Key Yes
baseEndpoint string Base endpoint to use (defaults to https://www.behance.net/v2) No

Basic Usage

// Get information about projects
behance.projects(params).then(data) {
  console.log(data);
}).catch((error) => {
  console.log(error);
});

Endpoints Supported

For a list of all endpoints supported see the rest of the endpoint docs