dev-master
9999999-dev https://github.com/clemfromspace/grooveshark-php-apiPHP implementation of Grooveshark's Web API.
MIT
The Requires
- php >=5.3.3
by Clément Denoix
grooveshark
PHP implementation of Grooveshark's Web API.
This is a PHP implementation of the Grooveshark Web API., (*1)
PHP 5.3 or greater., (*2)
Using composer:, (*3)
"require": { "clemfromspace/grooveshark-php-api": "dev-master" }
First, request a session ID using your application credentials., (*4)
$session = new GroovesharkAPI\Session('YOUR APPLICATION KEY', 'YOUR APPLICATION SECRET'); $session->startSession(); $api = new GroovesharkAPI\GroovesharkAPI($session);
Using this session object, initialize the client :, (*5)
$api = new GroovesharkAPI\GroovesharkAPI($session);
You can now send requests to Grooveshark's API :, (*6)
$response = $api->getSongSearchResults('Beat it');
PHP implementation of Grooveshark's Web API.
MIT
grooveshark