The getShow Method

Description: Returns the setlist from a given show.

This method requires an API key. You can get an API key here. The following parameters are accepted:

Paramter/KeyValue(s)
api api is the API version. If you do not pass this variable, it will default to the newest version of the API, which may yield unexpected results. The current version is 1.0
format format is the data output format. Most methods will only return certain formats. This field is case insensitive. Possible formats
  • "php" for serialized PHP
  • "json" for JSON (javascript object notation)
The default format is JSON. If you want JSON response, you do not need to pass a "format" argument. If you pass an invalid format as an argument, you will receive an HTTP 204: "No Content" response code.
method method is the API method to execute, "getLatestSetlist"
callback callback is the name of an optional callback function in which the entire output is wrapped.
linked linked is a boolean value. Passing a value here (such as "1" or "on") will return the songs linked to their song histories on Phish.Net.
apikey apikey is the API key. This field is a string. If you do not include an apikey, this script will return an error. You can get an API key here.
showid showid is an optional integer. showid will win in a conflict with showdate.
showdate showdate, in any format accepted by PHP's strtotime function, is the date of the show
Example API Call: http://api.phish.net/api.js?api=1.0&method=getShow&apikey=XXX&showdate=1997-11-22&linked=1&format=json&callback=YourCallbackFunction

« Back to API Home

All contents © 1997-2010 The Mockingbird Foundation, Inc. All Rights Reserved.
mockingbird@mbird.org
Source Code © 2010 Adam Scheinberg, firsttube.com