The getShowsByUser Method

Description: Returns shows attended by a particular Phish.net user.

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)
  • "txt" for a text-based list of show ids
  • "csv" for file containing comma delimited values including attended show data
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, "getShowsByUser"
callback callback is the name of an optional callback function in which the entire output is wrapped.
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.
username username of the user whose details you want to retrieve
Example API Call: http://api.phish.net/api.js?api=1.0&method=getShowsByUser&format=json&username=[username]&apikey=XXX&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