Skip to content

iainmullan/EchonestClient-PHP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Echonest API PHP Library

This is a library to abstract the Echonest API

Installation

  1. edit composer.json file with following contents:

    "require": {
       "echonest/echonest": "dev-master"
    }
  2. install composer via curl -s http://getcomposer.org/installer | php (on windows, download http://getcomposer.org/installer and execute it with PHP)

  3. run php composer.phar install

Use

Configure the service

use Echonest\Service\Echonest;

Echonest::configure($apiKey);

Run a query

$response = Echonest::query('artist', 'biographies', array(
    'id' => 'ARH6W4X1187B99274F',
    'results' => '1',
    'start' => '0',
    'license' => 'cc-by-sa'
));

About

A PHP Library for the Echonest API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published