/songkick-php

Songkick API client built on top of Guzzle 6

Primary LanguagePHPOtherNOASSERTION

Songkick API client built on top of Guzzle 6

Code Climate Test Coverage

I made this for Tradiio, but I think more people could use it :)

Apply for a Songkick API Key here.

Powered by Songkick

Install

The recommended way to install is through Composer.

# Install [Composer](http://getcomposer.org/)
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest version on Packagist:

composer require wildlifechorus/songkick-php

Update in the future:

composer update

Client

// Get API Key here: http://www.songkick.com/developer
$client = new SongkickClient(apiKey);

Search

// http://www.songkick.com/developer/artist-search
// Search Artists (ex: 'O Quarto Fantasma')
$client->search->searchArtist(artistName, page, perPage);

// http://www.songkick.com/developer/event-search
// Search Event
$client->search->searchEvent(artistName, lat, long, ipAddress, page, perPage);

// http://www.songkick.com/developer/location-search
// Search Location
$client->search->searchLocation(lat, long, ipAddress, page, perPage);

// http://www.songkick.com/developer/venue-search
// Search Venue
$client->search->searchVenue(venueName, page, perPage);

// http://www.songkick.com/developer/similar-artists
// Search Similar Artists
$client->search->searchSimilarArtists(artistId, page, perPage);

Calendar

// http://www.songkick.com/developer/upcoming-events-for-artist
// Get Artist Calendar
$client->calendar->artistCalendar(artistID, minDate, maxDate, order, page, perPage);

// http://www.songkick.com/developer/upcoming-events-for-venue
// Get Venue Calendar
$client->calendar->venueCalendar(venueID, page, perPage);

// http://www.songkick.com/developer/upcoming-events-for-metro-area
// Get Metro Area Calendar
$client->calendar->metroAreaCalendar(metroAreaId, page, perPage);

// http://www.songkick.com/developer/upcoming-events-for-user
// Get User Calendar
$client->calendar->userCalendar(username, order, page, perPage);

Gigography

// http://www.songkick.com/developer/past-events-for-artist
// Get Artist Gigography
$client->gigography->artistGigography(artistId, minDate, maxDate, order, page, perPage);

// http://www.songkick.com/developer/past-events-for-user
// Get User Gigography
$client->gigography->userGigography(username, order, page, perPage);

Details

// http://www.songkick.com/developer/events-details
// Get Event Details
$client->details->eventDetails(eventId, page, perPage);

// http://www.songkick.com/developer/venue-details
// Get Venue Details
$client->details->venueDetails(venueId, page, perPage);

Setlists

// http://www.songkick.com/developer/setlists
// Get Event's Setlists
$client->setlists->eventSetlists(eventId, page, perPage);

Copyleft and License

Copyleft 2016

This project is licensed under the "THE BEER-WARE LICENSE" (Revision 42).