2017 © Pedro Peláez
 

library spotify-web-api-extensions

Guzzle Adapter for use with SpotifyWebApi

image

andig/spotify-web-api-extensions

Guzzle Adapter for use with SpotifyWebApi

  • Friday, September 23, 2016
  • by andig
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

spotify-web-api-extensions

Guzzle Adapter for use with SpotifyWebApi (https://github.com/jwilsson/spotify-web-api-php), (*1)

Installation

To install run:, (*2)

composer require andig/spotify-web-api-extensions:dev-master

Usage

See example.php for how to use Guzzle as HTTP client for SpotifyWebApi:, (*3)

$guzzleAdapter = new GuzzleRequestAdapter(
    GuzzleClientFactory::create(
        new FilesystemCache(__DIR__ . '/cache')
    )
);

$api = new SpotifyWebAPI($guzzleAdapter);
print_r($api->search('Nothing else matters', ['track'], ['market' => 'DE']));

The Versions

23/09 2016

dev-master

9999999-dev

Guzzle Adapter for use with SpotifyWebApi

  Sources   Download

MIT

The Requires

 

by Avatar andig