clemfromspace/grooveshark-php-api

PHP implementation of Grooveshark's Web API.

Maintainers

Package info

github.com/clemfromspace/grooveshark-php-api

pkg:composer/clemfromspace/grooveshark-php-api

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2015-02-16 15:57 UTC

This package is not auto-updated.

Last update: 2026-02-28 23:59:03 UTC


README

This is a PHP implementation of the Grooveshark Web API.

Requirements

PHP 5.3 or greater.

Installation

Using composer:

"require": {
    "clemfromspace/grooveshark-php-api": "dev-master"
}

Examples

First, request a session ID using your application credentials.

$session = new GroovesharkAPI\Session('YOUR APPLICATION KEY', 'YOUR APPLICATION SECRET');
$session->startSession();

$api = new GroovesharkAPI\GroovesharkAPI($session);

Using this session object, initialize the client :

$api = new GroovesharkAPI\GroovesharkAPI($session);

You can now send requests to Grooveshark's API :

$response = $api->getSongSearchResults('Beat it');

Grooveshark Api documentation