WebService::MusicBrainz::Response - WebService::MusicBrainz::Response documentation


WebService-MusicBrainz documentation  | view source Contained in the WebService-MusicBrainz distribution.

Index


NAME

Top

WebService::MusicBrainz::Response

SYNOPSIS

Top

DESCRIPTION

Top

This module will hide the details of the XML web service response and provide an API to query the XML data which has been returned. This module is responsible for parsing the XML web service response and instantiating objects to provide access to the details of the response.

METHODS

Top

new()

This method is the constructor and it will call for initialization.

xpc()

as_xml()

This method returns the raw XML from the MusicBrainz web service response.

generator()

This method will return an optional value of the generator.

created()

This method will return an optional value of the created date.

score()

This method will return an optional value of the relevance score.

metadata()

This method will return an Response::Metadata object.

artist()

This method will return an Response::Artist object.

release()

This method will return an Reponse::Release object;.

track()

This method will return an Response::Track object.

label()

This method will return an Response::Label object.

artist_list()

This method will return a reference to the Response::ArtistList object in a scalar context. If in a array context, an array of Response::Artist objects will be returned.

release_list()

This method will return a reference to the Response::ReleaseList object in a scalar context. If in a array context, an array of Response::Release objects will be returned.

track_list()

This method will return a reference to the Response::TrackList object in a scalar context. If in a array context, an array of Response::Track objects will be returned.

label_list()

This method will return a reference to the Response::LabelList object in a scalar context. If in a array context, an array of Response::Label objects will be returned.

AUTHOR

Top

Bob Faist <bob.faist@gmail.com>

COPYRIGHT AND LICENSE

Top

SEE ALSO

Top

http://wiki.musicbrainz.org/XMLWebService


WebService-MusicBrainz documentation  | view source Contained in the WebService-MusicBrainz distribution.