2017 © Pedro Peláez
 

library echonest

A PHP library for abstracting the Echonest API

image

echonest/echonest

A PHP library for abstracting the Echonest API

  • Sunday, September 7, 2014
  • by tom_anderson
  • Repository
  • 2 Watchers
  • 1 Stars
  • 692 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Echonest API PHP Library

This is a library to abstract the Echonest API, (*1)

Installation

  1. edit composer.json file with following contents:, (*2)

    json "require": { "echonest/echonest": "dev-master" }, (*3)

  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, (*4)

use Echonest\Service\Echonest;

Echonest::configure($apiKey);

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

The Versions

07/09 2014