PHP code example of pouler / deezer-api

1. Go to this page and download the library: Download pouler/deezer-api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

pouler / deezer-api example snippets




 = new \Symfony\Component\HttpClient\CurlHttpClient();
$client = new PouleR\DeezerAPI\DeezerAPIClient($curl);
$client->setAccessToken('');

$api = new PouleR\DeezerAPI\DeezerAPI($client);

print_r($api->getUserInformation());