core23/setlistfm-api

This package is abandoned and no longer maintained. The author suggests using the nucleos/setlistfm package instead.

Setlist.fm webservice client for php.

2.0.0 2020-05-22 07:37 UTC

This package is auto-updated.

Last update: 2020-06-28 11:59:27 UTC


README

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Continuous Integration Code Coverage

This library provides a wrapper for using the Setlist.fm API inside PHP and a bridge for symfony.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:

composer require core23/setlistfm-api
# To define a default http client and message factory
composer require symfony/http-client nyholm/psr7

Usage

General usage

// Create connection
$connection = new \Core23\SetlistFm\Connection\PsrClientConnection($httpClient, $requestFactory);

$artistApi = new \Core23\SetlistFm\Service\ArtistService($connection);
$artists = $artistApi->search(\Core23\SetlistFm\Builder\ArtistSearchBuilder::create()
    ->withArtistName('Slipknot')
);

License

This library is under the MIT license.