Skip to content

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

Notifications You must be signed in to change notification settings

iacopo/network_api_php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Behance Network API / PHP (5.3+)

Basic implementation to access User, Project and Work in Progress 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( $api_id, $api_key );
    
    // 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.3+
  2. PHP cURL module

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published