mickeyvanolst / network_api_php

Implementation in PHP to access User, Project and Work in Progress data

Home Page:http://be.net/dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Behance API Logo

Behance Network API / PHP (5.2+)

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.

    require_once( './lib/Be/Api.php' );
    
    $api = new Be_Api( $client_id, $client_secret );
    
    // User data
    $api->getUser( 'bryan' );
    
    // User's list of projects
    $api->getUserProjects( 'bryan' );
    
    // User's work in progress
    $api->getUserWips( 'cfaydi' );
    
    // Project data
    $api->getProject( 2812719 );
    
    // Project's comments
    $api->getProjectComments( 2812719 );
    
    // Featured project list
    $api->searchProjects( array() );
    
    
    // Search for motorcycles
    $api->searchProjects( array( 'q' => 'motorcycles' ) );

Requirements

  1. Requires PHP 5.2+
  2. PHP cURL module

About

Implementation in PHP to access User, Project and Work in Progress data

http://be.net/dev