Skip to content
Romain Monteil edited this page Jan 2, 2019 · 6 revisions

Preamble

Before starting using this library, you will need:

  • An OAuth access token for the Spotify API. You can get one using this provider
  • An HTTP Client implementing the PSR-18, like httplug

Start

$spotify = new \Kerox\Spotify\Spotify($oauthToken, $client);
$response = $spotify->me()->get();
Clone this wiki locally