2017 © Pedro Peláez
 

lib deezer-php-sdk

Deezer PHP lib

image

deezer/deezer-php-sdk

Deezer PHP lib

  • Tuesday, January 10, 2017
  • by acostes
  • Repository
  • 2 Watchers
  • 6 Stars
  • 57,757 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Deezer API SDK for PHP

Build pass, (*1)

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, (*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)

Getting Started

Package available Composer. Autoloading is PSR-0 compatible., (*4)

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

The Versions

10/01 2017

dev-master

9999999-dev https://github.com/acostes/deezer-php-sdk

Deezer PHP lib

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

api lib deezer