npm.io
0.0.1 • Published 8 years ago

behance

Licence
MIT
Version
0.0.1
Deps
3
Vulns
23
Weekly
0
Stars
1

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