Skip to content
The backbone-client for Behance Network API
JavaScript
Find file
Latest commit 3ed0e8e Sep 25, 2012 @jackie jackie Added documentation and convenience functions for new Collections stu…
…ff. Also fixed various bugs and added WIP Revision functionality.
Failed to load latest commit information.
be
example
libs Initial commit Aug 14, 2012
README.md
be.js Deleted stuff not in use Aug 14, 2012

README.md

Behance Network API / Backbone.js

Basic implementation to access User, Project, Work in Progress and Collection data.

See http://be.net/dev for more information and documentation.

Installation / Usage

  1. Please register for an application ID + key first: http://be.net/dev/register
  2. Usage.

    // Set your API key in be.js
    Behance.api_key = 'abcdef';
    
    // Users
    BehanceUser = new Behance.UserModel({user: 'sbelsky'});
    BehanceUser.fetch();
    BehanceUser.getProjects();
    BehanceUser.getCollections();
    BehanceUser.getWips();
    
    // Projects
    BehanceProject = new Behance.ProjectModel({id: 729292});
    BehanceProject.fetch();
    BehanceProject.getComments();
    
    // Wips
    BehanceWip = new Behance.WipModel({id: 73});
    BehanceWip.fetch();
    BehanceWip.getRevision(281);
    
    // Collections
    BehanceCollection = new Behance.CollectionModel({id: 9866});
    BehanceCollection.fetch();
    BehanceCollection.getProjects();
    
    // Search
    SearchResults = new Behance.SearchCollection();
    SearchResults.sortBy('appreciations');
    

Requirements

  1. jQuery
  2. Underscore.js
  3. Backbone.js
Something went wrong with that request. Please try again.