deezer/deezer-php-sdk

Deezer PHP lib

Maintainers

Package info

github.com/acostes/deezer-php-sdk

Type:lib

pkg:composer/deezer/deezer-php-sdk

Statistics

Installs: 58 510

Dependents: 1

Suggesters: 0

Stars: 9

Open Issues: 0

dev-master 2017-01-10 12:33 UTC

This package is not auto-updated.

Last update: 2026-03-07 05:22:55 UTC


README

Build pass

Overview

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

The SDK also contains. The code in sample/ demonstrates the basic use of the SDK for search artists or albums on the DeezerAPI.

Getting Started

Package available Composer. Autoloading is PSR-0 compatible.

How to use

<?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";
    }