Class Zend_Service_Audioscrobbler

Description
  • author: Chris Hartjes chartjes@littlehart.net (ZCE # 901167)
  • author: Derek Martin derek@geekunity.com (ZCE # 901168)
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies Inc. (http://www.zend.com)

Located in /Zend/Service/Audioscrobbler.php (line 45)


	
			
Variable Summary
Method Summary
 Zend_Service_Audioscrobbler __construct ([ $testing = FALSE], [ $testing_response = NULL], mixed $adapter)
 void albumGetInfo ()
 SimpleXML artistGetTopAlbums ()
 SimpleXML artistGetTopFans ()
 SimpleXML artistGetTopTags ()
 SimpleXML artistGetTopTracks ()
 void get ( $field, string $key)
 void groupGetWeeklyAlbumChartList ([ $from = NULL], [ $to = NULL])
 void groupGetWeeklyArtistChartList ([ $from = NULL], [ $to = NULL])
 void groupGetWeeklyTrackChartList ([ $from = NULL], [ $to = NULL])
 void set (string $field,  $value, string $val)
 void tagGetTopAlbums ()
 void tagGetTopTags ()
 void tagGetTopTracks ()
 void trackGetTopFans ()
 void trackGetTopTags ()
 SimpleXML userGetFriends ()
 SimpleXML userGetNeighbours ()
 SimpleXML userGetRecentTracks ()
 SimpleXML userGetTopAlbums ()
 SimpleXML userGetTopTags ()
 SimpleXML userGetTopTagsForAlbum ()
 SimpleXML userGetTopTagsForTrack ()
 SimpleXML userGetTopTracks ()
 SimpleXML userGetWeeklyAlbumChart ([integer $from = NULL], [integer $to = NULL])
 SimpleXML userGetWeeklyArtistChart ([integer $from = NULL], [integer $to = NULL])
 SimpleXML userGetWeeklyChartList ()
 SimpleXML userGetWeeklyTrackChart ([integer $from = NULL], [integer $to = NULL])
Variables
array $params (line 58)

Array that contains parameters being used by the webservice

  • access: protected
boolean $testing (line 65)

Flag if we're doing testing or not

  • access: protected
string $testing_response (line 72)

Http response used for testing purposes

  • access: protected
Zend_Http_Client $_client (line 52)

Zend_Http_Client Object

  • access: protected
Methods
Constructor __construct (line 87)

Zend_Service_Audioscrobbler Constructor, setup character encoding

  • access: public
Zend_Service_Audioscrobbler __construct ([ $testing = FALSE], [ $testing_response = NULL], mixed $adapter)
  • mixed $adapter: Zend_Http_Client Adapter to be used
  • $testing
  • $testing_response
albumGetInfo (line 465)
  • access: public
void albumGetInfo ()
artistGetRelatedArtists (line 411)

Utility function that returns a list of artists similiar to this artist

  • return: object containing result set
  • access: public
SimpleXML artistGetRelatedArtists ()
artistGetTopAlbums (line 444)

Utility function that returns a list of this artist's top-rated albums

  • return: object containing result set
  • access: public
SimpleXML artistGetTopAlbums ()
artistGetTopFans (line 422)

Utility function that returns a list of this artist's top listeners

  • return: object containing result set
  • access: public
SimpleXML artistGetTopFans ()
artistGetTopTags (line 455)

Utility function that returns a list of this artist's top-rated tags

  • return: object containing result set
  • access: public
SimpleXML artistGetTopTags ()
artistGetTopTracks (line 433)

Utility function that returns a list of this artist's top-rated tracks

  • return: object containing result set
  • access: public
SimpleXML artistGetTopTracks ()
get (line 110)

Generic get action for a particular field

  • access: public
void get ( $field, string $key)
  • string $key: object to be retrieved
  • $field
groupGetWeeklyAlbumChartList (line 554)
  • access: public
void groupGetWeeklyAlbumChartList ([ $from = NULL], [ $to = NULL])
  • $from
  • $to
groupGetWeeklyArtistChartList (line 525)
  • access: public
void groupGetWeeklyArtistChartList ([ $from = NULL], [ $to = NULL])
  • $from
  • $to
groupGetWeeklyChartList (line 519)
  • access: public
void groupGetWeeklyChartList ()
groupGetWeeklyTrackChartList (line 540)
  • access: public
void groupGetWeeklyTrackChartList ([ $from = NULL], [ $to = NULL])
  • $from
  • $to
set (line 126)

Generic set action for a field in the parameters being used

  • access: public
void set (string $field,  $value, string $val)
  • string $field: field to set
  • string $val: value to set in the field
  • $value
tagGetTopAlbums (line 497)
  • access: public
void tagGetTopAlbums ()
tagGetTopArtists (line 503)
  • access: public
void tagGetTopArtists ()
tagGetTopTags (line 491)
  • access: public
void tagGetTopTags ()
tagGetTopTracks (line 509)
  • access: public
void tagGetTopTracks ()
trackGetTopFans (line 475)
  • access: public
void trackGetTopFans ()
trackGetTopTags (line 481)
  • access: public
void trackGetTopTags ()
userGetFriends (line 269)

Utility function that retrieves this user's list of friends

  • return: object containing result set
  • access: public
SimpleXML userGetFriends ()
userGetNeighbours (line 280)

Utility function that returns a list of people with similar listening preferences to this user

  • return: object containing result set
  • access: public
SimpleXML userGetNeighbours ()
userGetProfileInformation (line 183)

Utility function to get Audioscrobbler profile information (eg: Name, Gender)

  • return: containing information
  • access: public
array userGetProfileInformation ()
userGetRecentBannedTracks (line 302)

Utility function that returns a list of the 10 tracks most recently banned by this user

  • return: object containing result set
  • access: public
SimpleXML userGetRecentBannedTracks ()
userGetRecentLovedTracks (line 313)

Utility function that returns a list of the 10 tracks most recently loved by this user

  • return: object containing result set
  • access: public
SimpleXML userGetRecentLovedTracks ()
userGetRecentTracks (line 291)

Utility function that returns a list of the 10 most recent tracks played by this user

  • return: object containing result set
  • access: public
SimpleXML userGetRecentTracks ()
userGetTopAlbums (line 203)

Utility function to get this user's 50 most played albums

  • return: object containing result set
  • access: public
SimpleXML userGetTopAlbums ()
userGetTopArtists (line 193)

Utility function get this user's 50 most played artists

  • return: containing info
  • access: public
array userGetTopArtists ()
userGetTopTags (line 223)

Utility function to get this user's 50 most used tags

  • return: object containing result set
  • access: public
SimpleXML userGetTopTags ()
userGetTopTagsForAlbum (line 246)

Utility function that returns this user's top tags for an album

  • return: object containing result set
  • access: public
SimpleXML userGetTopTagsForAlbum ()
userGetTopTagsForArtist (line 234)

Utility function that returns the user's top tags used most used on a specific artist

  • return: object containing result set
  • access: public
SimpleXML userGetTopTagsForArtist ()
userGetTopTagsForTrack (line 258)

Utility function that returns this user's top tags for a track

  • return: object containing result set
  • access: public
SimpleXML userGetTopTagsForTrack ()
userGetTopTracks (line 213)

Utility function to get this user's 50 most played tracks

  • return: object containing resut set
  • access: public
SimpleXML userGetTopTracks ()
userGetWeeklyAlbumChart (line 339)

Utility function that returns weekly album chart data for this user

  • return: object containing result set
  • access: public
SimpleXML userGetWeeklyAlbumChart ([integer $from = NULL], [integer $to = NULL])
  • integer $from: optional UNIX timestamp for start of date range
  • integer $to: optional UNIX timestamp for end of date range
userGetWeeklyArtistChart (line 360)

Utility function that returns weekly artist chart data for this user

  • return: object containing result set
  • access: public
SimpleXML userGetWeeklyArtistChart ([integer $from = NULL], [integer $to = NULL])
  • integer $from: optional UNIX timestamp for start of date range
  • integer $to: optional UNIX timestamp for end of date range
userGetWeeklyChartList (line 325)

Utility function that returns a list of dates of available weekly charts for a this user

Should actually be named userGetWeeklyChartDateList() but we have to follow audioscrobbler's naming

  • return: object containing result set
  • access: public
SimpleXML userGetWeeklyChartList ()
userGetWeeklyTrackChart (line 381)

Utility function that returns weekly track chart data for this user

  • return: object containing result set
  • access: public
SimpleXML userGetWeeklyTrackChart ([integer $from = NULL], [integer $to = NULL])
  • integer $from: optional UNIX timestamp for start of date range
  • integer $to: optional UNIX timestamp for end of date range

Documentation generated on Fri, 06 Apr 2007 18:15:35 -0700 by phpDocumentor 1.3.1