The getLatestLinked Method

Description: Returns the most recent Phish setlist, with each song hyperlinked to the Phish.Net song history.

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, "getLatestLinked"
callback callback is the name of an optional callback function in which the entire output is wrapped.
Example API Call: http://api.phish.net/api.js?api=1.0&method=getLatestLinked&format=json&callback=YourCallbackFunction

If you're comfortable with code, here's another, likely better way to use the setlist API.

« 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