2017 © Pedro Peláez
 

library webapi

PHP library for abstracting the Spotify Web API

image

spotify/webapi

PHP library for abstracting the Spotify Web API

  • Saturday, February 8, 2014
  • by shemahmforash
  • Repository
  • 1 Watchers
  • 2 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SpotifyWebApi

Abstraction of the spotify web-abi (aka metadata api) - https://developer.spotify.com/technologies/web-api/, (*1)

Installation

This project is in Composer format, so you just need to use Composer to intall all dependencies. Learn how to use Composer: https://getcomposer.org/, (*2)

Example

It is very simple to use this class. You just need to include the autoload, instantiate the class and call its public method get., (*3)

require 'vendor/autoload.php';
$api = new Webservice\Spotify\WebApi();
$results = $api->get('search', 'artist', 'json', array("q" => "Queen"));

The Versions

08/02 2014