0.0.1 • Published 6 years ago

behance v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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:

KeyTypeDescriptionRequired
apiKeystringYour developers api key. You can get one here - Behance Api KeyYes
baseEndpointstringBase 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