behance / api-network
Simply connect to the Behance Network using PHP and cURL
Installs: 35 029
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 9
Forks: 1
Open Issues: 1
Requires
- php: >=5.3.3
- ext-curl: *
Requires (Dev)
- phpunit/phpunit: 4.3.*
This package is not auto-updated.
Last update: 2024-12-21 15:13:51 UTC
README
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
- Requires PHP 5.2+
- PHP cURL module