Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Implementation in PHP to access User, Project and Work in Progress data
PHP
branch: master

Merge pull request #23 from markdunphy/remove-oauth

Everything: Clean up a little, remove OAuth, remove non-GET requests, add PSR-4 autoloading, unit tests.
latest commit 721653c23a
@markdunphy markdunphy authored
Failed to load latest commit information.
src Client: Remove redundant comment
tests Client: Remove redundant comment
.gitattributes .gitattributes : normalized whitespace, line endings
.gitignore Everything: Unit tests. Rename Api class to Client since that makes m…
README.md Everything: Unit tests. Rename Api class to Client since that makes m…
composer.json
phpunit.xml.dist

README.md

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.

Authentication

Get an API key by registering your application here: http://be.net/dev/register

Install via Composer

{
   "require": {
     "behance/api-network": "~2.0.0"
   }
}

Usage

require_once( './vendor/autoload.php' );

$client = new Behance\Client( $client_id );

// User data
$client->getUser( 'bryan' );

// User's list of projects
$client->getUserProjects( 'bryan' );

// User's work in progress
$client->getUserWips( 'cfaydi' );

// Project data
$client->getProject( 2812719 );

// Project's comments
$client->getProjectComments( 2812719 );

// Featured project list
$client->searchProjects( array() );

// Search for motorcycles
$client->searchProjects( array( 'q' => 'motorcycles' ) );

Requirements

  1. Requires PHP 5.2+
  2. PHP cURL module
Something went wrong with that request. Please try again.