Skip to content

clemfromspace/grooveshark-php-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grooveshark Web Api PHP

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

About

Grooveshark php api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages