dev-master
9999999-dev https://github.com/acostes/deezer-php-sdkDeezer PHP lib
MIT
The Requires
- php >=5.6
The Development Requires
api lib deezer
Wallogit.com
2017 © Pedro Peláez
Deezer PHP lib
This SDK contains wrapper code used to call the Deezer API from PHP. You can find the documentation of the API here http://developers.deezer.com/api, (*2)
The SDK also contains. The code in sample/ demonstrates the basic use of the SDK for search artists or albums on the DeezerAPI., (*3)
Package available Composer. Autoloading is PSR-0 compatible., (*4)
<?php
use DeezerAPI\Search;
use DeezerAPI\Models\Album;
$search = new DeezerAPI\Search('eminem');
$data = $search->search();
foreach ($data as $album) {
echo $album->title . "\n";
}
$album = new DeezerAPI\Models\Album(302127);
foreach ($album->tracks->data as $track) {
echo $track->title . "\n";
}
Deezer PHP lib
MIT
api lib deezer