This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
oliver-screen/oliver_screen/tracks/pylast.html
T
2011-04-19 02:59:46 +02:00

3394 lines
232 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module pylast</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>pylast</strong></big></big> (version 0.5)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/lib/pymodules/python2.6/pylast.py">/usr/lib/pymodules/python2.6/pylast.py</a></font></td></tr></table>
<p><tt>#&nbsp;-*-&nbsp;coding:&nbsp;utf-8&nbsp;-*-<br>
#<br>
#&nbsp;pylast&nbsp;-&nbsp;A&nbsp;Python&nbsp;interface&nbsp;to&nbsp;Last.fm&nbsp;(and&nbsp;other&nbsp;API&nbsp;compatible&nbsp;social&nbsp;networks)<br>
#<br>
#&nbsp;Copyright&nbsp;2008-2010&nbsp;Amr&nbsp;Hassan<br>
#<br>
#&nbsp;Licensed&nbsp;under&nbsp;the&nbsp;Apache&nbsp;License,&nbsp;Version&nbsp;2.0&nbsp;(the&nbsp;"License");<br>
#&nbsp;you&nbsp;may&nbsp;not&nbsp;use&nbsp;this&nbsp;file&nbsp;except&nbsp;in&nbsp;compliance&nbsp;with&nbsp;the&nbsp;License.<br>
#&nbsp;You&nbsp;may&nbsp;obtain&nbsp;a&nbsp;copy&nbsp;of&nbsp;the&nbsp;License&nbsp;at<br>
#<br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br>
#<br>
#&nbsp;Unless&nbsp;required&nbsp;by&nbsp;applicable&nbsp;law&nbsp;or&nbsp;agreed&nbsp;to&nbsp;in&nbsp;writing,&nbsp;software<br>
#&nbsp;distributed&nbsp;under&nbsp;the&nbsp;License&nbsp;is&nbsp;distributed&nbsp;on&nbsp;an&nbsp;"AS&nbsp;IS"&nbsp;BASIS,<br>
#&nbsp;WITHOUT&nbsp;WARRANTIES&nbsp;OR&nbsp;CONDITIONS&nbsp;OF&nbsp;ANY&nbsp;KIND,&nbsp;either&nbsp;express&nbsp;or&nbsp;implied.<br>
#&nbsp;See&nbsp;the&nbsp;License&nbsp;for&nbsp;the&nbsp;specific&nbsp;language&nbsp;governing&nbsp;permissions&nbsp;and<br>
#&nbsp;limitations&nbsp;under&nbsp;the&nbsp;License.<br>
#<br>
#&nbsp;<a href="http://code.google.com/p/pylast/">http://code.google.com/p/pylast/</a></tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="collections.html">collections</a><br>
<a href="hashlib.html">hashlib</a><br>
<a href="htmlentitydefs.html">htmlentitydefs</a><br>
</td><td width="25%" valign=top><a href="xml.dom.minidom.html">xml.dom.minidom</a><br>
<a href="shelve.html">shelve</a><br>
<a href="sys.html">sys</a><br>
</td><td width="25%" valign=top><a href="tempfile.html">tempfile</a><br>
<a href="time.html">time</a><br>
<a href="xml.html">xml</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#Scrobbler">Scrobbler</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#SessionKeyGenerator">SessionKeyGenerator</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#tuple">__builtin__.tuple</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#Image">Image</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#ImageSizes">ImageSizes</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#LibraryItem">LibraryItem</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#LovedTrack">LovedTrack</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#PlayedTrack">PlayedTrack</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Shout">Shout</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#SimilarItem">SimilarItem</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#TopItem">TopItem</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#MalformedResponseError">MalformedResponseError</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#NetworkError">NetworkError</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#ScrobblingError">ScrobblingError</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#BadAuthenticationError">BadAuthenticationError</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#BadSessionError">BadSessionError</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#BadTimeError">BadTimeError</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#BannedClientError">BannedClientError</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="pylast.html#WSError">WSError</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="pylast.html#_BaseObject">_BaseObject</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#Album">Album</a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Artist">Artist</a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Country">Country</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Event">Event</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Group">Group</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Library">Library</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Playlist">Playlist</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Tag">Tag</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Track">Track</a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#User">User</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#AuthenticatedUser">AuthenticatedUser</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="pylast.html#Venue">Venue</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#XSPF">XSPF</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="pylast.html#_Network">_Network</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#LastFMNetwork">LastFMNetwork</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#LibreFMNetwork">LibreFMNetwork</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="pylast.html#_Search">_Search</a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#AlbumSearch">AlbumSearch</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#ArtistSearch">ArtistSearch</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#TagSearch">TagSearch</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#TrackSearch">TrackSearch</a>
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#VenueSearch">VenueSearch</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="pylast.html#_Taggable">_Taggable</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pylast.html#Album">Album</a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Artist">Artist</a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)
</font></dt><dt><font face="helvetica, arial"><a href="pylast.html#Track">Track</a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Album">class <strong>Album</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>An&nbsp;album.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Album">Album</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="pylast.html#_Taggable">_Taggable</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Album-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Album-__init__"><strong>__init__</strong></a>(self, artist, title, network)</dt><dd><tt>Create&nbsp;an&nbsp;album&nbsp;instance.<br>
#&nbsp;Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;artist:&nbsp;An&nbsp;artist&nbsp;name&nbsp;or&nbsp;an&nbsp;<a href="#Artist">Artist</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;title:&nbsp;The&nbsp;album&nbsp;title.</tt></dd></dl>
<dl><dt><a name="Album-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Album-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Album-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Album-get_artist"><strong>get_artist</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;associated&nbsp;<a href="#Artist">Artist</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Album-get_cover_image"><strong>get_cover_image</strong></a>(self, size<font color="#909090">=3</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;uri&nbsp;to&nbsp;the&nbsp;cover&nbsp;image<br>
size&nbsp;can&nbsp;be&nbsp;one&nbsp;of:<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_EXTRA_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_MEDIUM<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_SMALL</tt></dd></dl>
<dl><dt><a name="Album-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;ID</tt></dd></dl>
<dl><dt><a name="Album-get_listener_count"><strong>get_listener_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;liteners&nbsp;on&nbsp;the&nbsp;network</tt></dd></dl>
<dl><dt><a name="Album-get_mbid"><strong>get_mbid</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;MusicBrainz&nbsp;id&nbsp;of&nbsp;the&nbsp;album.</tt></dd></dl>
<dl><dt><a name="Album-get_name"><strong>get_name</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;album&nbsp;title&nbsp;(alias&nbsp;to&nbsp;<a href="#Album">Album</a>.get_title).</tt></dd></dl>
<dl><dt><a name="Album-get_playcount"><strong>get_playcount</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;plays&nbsp;on&nbsp;the&nbsp;network</tt></dd></dl>
<dl><dt><a name="Album-get_release_date"><strong>get_release_date</strong></a>(self)</dt><dd><tt>Retruns&nbsp;the&nbsp;release&nbsp;date&nbsp;of&nbsp;the&nbsp;album.</tt></dd></dl>
<dl><dt><a name="Album-get_title"><strong>get_title</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;album&nbsp;title.</tt></dd></dl>
<dl><dt><a name="Album-get_top_tags"><strong>get_top_tags</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;most-applied&nbsp;tags&nbsp;to&nbsp;this&nbsp;album.</tt></dd></dl>
<dl><dt><a name="Album-get_tracks"><strong>get_tracks</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;list&nbsp;of&nbsp;Tracks&nbsp;on&nbsp;this&nbsp;album.</tt></dd></dl>
<dl><dt><a name="Album-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;album&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
#&nbsp;Parameters:<br>
*&nbsp;domain_name&nbsp;str:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="Album-get_wiki_content"><strong>get_wiki_content</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;content&nbsp;of&nbsp;the&nbsp;wiki.</tt></dd></dl>
<dl><dt><a name="Album-get_wiki_published_date"><strong>get_wiki_published_date</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;date&nbsp;of&nbsp;publishing&nbsp;this&nbsp;version&nbsp;of&nbsp;the&nbsp;wiki.</tt></dd></dl>
<dl><dt><a name="Album-get_wiki_summary"><strong>get_wiki_summary</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;summary&nbsp;of&nbsp;the&nbsp;wiki.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>artist</strong> = None</dl>
<dl><dt><strong>title</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Album-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_Taggable">_Taggable</a>:<br>
<dl><dt><a name="Album-add_tag"><strong>add_tag</strong></a>(self, tag)</dt><dd><tt>Adds&nbsp;one&nbsp;tag.<br>
*&nbsp;tag:&nbsp;a&nbsp;tag&nbsp;name&nbsp;or&nbsp;a&nbsp;<a href="#Tag">Tag</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Album-add_tags"><strong>add_tags</strong></a>(self, tags)</dt><dd><tt>Adds&nbsp;one&nbsp;or&nbsp;several&nbsp;tags.<br>
*&nbsp;tags:&nbsp;A&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="Album-clear_tags"><strong>clear_tags</strong></a>(self)</dt><dd><tt>Clears&nbsp;all&nbsp;the&nbsp;user-set&nbsp;tags.</tt></dd></dl>
<dl><dt><a name="Album-get_tags"><strong>get_tags</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;tags&nbsp;set&nbsp;by&nbsp;the&nbsp;user&nbsp;to&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Album-remove_tag"><strong>remove_tag</strong></a>(self, tag)</dt><dd><tt>Remove&nbsp;a&nbsp;user's&nbsp;tag&nbsp;from&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Album-remove_tags"><strong>remove_tags</strong></a>(self, tags)</dt><dd><tt>Removes&nbsp;one&nbsp;or&nbsp;several&nbsp;tags&nbsp;from&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.<br>
*&nbsp;tags:&nbsp;a&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="Album-set_tags"><strong>set_tags</strong></a>(self, tags)</dt><dd><tt>Sets&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>'s&nbsp;tags&nbsp;to&nbsp;only&nbsp;those&nbsp;tags.<br>
*&nbsp;tags:&nbsp;a&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="AlbumSearch">class <strong>AlbumSearch</strong></a>(<a href="pylast.html#_Search">_Search</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Search&nbsp;for&nbsp;an&nbsp;album&nbsp;by&nbsp;name.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#AlbumSearch">AlbumSearch</a></dd>
<dd><a href="pylast.html#_Search">_Search</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="AlbumSearch-__init__"><strong>__init__</strong></a>(self, album_name, network)</dt></dl>
<dl><dt><a name="AlbumSearch-get_next_page"><strong>get_next_page</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;next&nbsp;page&nbsp;of&nbsp;results&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Album">Album</a>&nbsp;objects.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_Search">_Search</a>:<br>
<dl><dt><a name="AlbumSearch-get_total_result_count"><strong>get_total_result_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;total&nbsp;count&nbsp;of&nbsp;all&nbsp;the&nbsp;results.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="AlbumSearch-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Artist">class <strong>Artist</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>An&nbsp;artist.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Artist">Artist</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="pylast.html#_Taggable">_Taggable</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Artist-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Artist-__init__"><strong>__init__</strong></a>(self, name, network)</dt><dd><tt>Create&nbsp;an&nbsp;artist&nbsp;<a href="__builtin__.html#object">object</a>.<br>
#&nbsp;Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;name&nbsp;str:&nbsp;The&nbsp;artist's&nbsp;name.</tt></dd></dl>
<dl><dt><a name="Artist-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Artist-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Artist-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Artist-get_bio_content"><strong>get_bio_content</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;content&nbsp;of&nbsp;the&nbsp;artist's&nbsp;biography.</tt></dd></dl>
<dl><dt><a name="Artist-get_bio_published_date"><strong>get_bio_published_date</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;date&nbsp;on&nbsp;which&nbsp;the&nbsp;artist's&nbsp;biography&nbsp;was&nbsp;published.</tt></dd></dl>
<dl><dt><a name="Artist-get_bio_summary"><strong>get_bio_summary</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;summary&nbsp;of&nbsp;the&nbsp;artist's&nbsp;biography.</tt></dd></dl>
<dl><dt><a name="Artist-get_cover_image"><strong>get_cover_image</strong></a>(self, size<font color="#909090">=4</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;uri&nbsp;to&nbsp;the&nbsp;cover&nbsp;image<br>
size&nbsp;can&nbsp;be&nbsp;one&nbsp;of:<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_MEGA<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_EXTRA_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_MEDIUM<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_SMALL</tt></dd></dl>
<dl><dt><a name="Artist-get_images"><strong>get_images</strong></a>(self, order<font color="#909090">='popularity'</font>, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Image">Image</a>&nbsp;objects<br>
if&nbsp;limit&nbsp;is&nbsp;None&nbsp;it&nbsp;will&nbsp;return&nbsp;all<br>
order&nbsp;can&nbsp;be&nbsp;IMAGES_ORDER_POPULARITY&nbsp;or&nbsp;IMAGES_ORDER_DATE.<br>
&nbsp;<br>
If&nbsp;limit==None,&nbsp;it&nbsp;will&nbsp;try&nbsp;to&nbsp;pull&nbsp;all&nbsp;the&nbsp;available&nbsp;data.</tt></dd></dl>
<dl><dt><a name="Artist-get_listener_count"><strong>get_listener_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;liteners&nbsp;on&nbsp;the&nbsp;network.</tt></dd></dl>
<dl><dt><a name="Artist-get_mbid"><strong>get_mbid</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;MusicBrainz&nbsp;ID&nbsp;of&nbsp;this&nbsp;artist.</tt></dd></dl>
<dl><dt><a name="Artist-get_name"><strong>get_name</strong></a>(self, properly_capitalized<font color="#909090">=False</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;artist.<br>
If&nbsp;properly_capitalized&nbsp;was&nbsp;asserted&nbsp;then&nbsp;the&nbsp;name&nbsp;would&nbsp;be&nbsp;downloaded<br>
overwriting&nbsp;the&nbsp;given&nbsp;one.</tt></dd></dl>
<dl><dt><a name="Artist-get_playcount"><strong>get_playcount</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;plays&nbsp;on&nbsp;the&nbsp;network.</tt></dd></dl>
<dl><dt><a name="Artist-get_shouts"><strong>get_shouts</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequqence&nbsp;of&nbsp;<a href="#Shout">Shout</a>&nbsp;objects</tt></dd></dl>
<dl><dt><a name="Artist-get_similar"><strong>get_similar</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;similar&nbsp;artists&nbsp;on&nbsp;the&nbsp;network.</tt></dd></dl>
<dl><dt><a name="Artist-get_top_albums"><strong>get_top_albums</strong></a>(self)</dt><dd><tt>Retuns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;top&nbsp;albums.</tt></dd></dl>
<dl><dt><a name="Artist-get_top_fans"><strong>get_top_fans</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;Users&nbsp;who&nbsp;played&nbsp;this&nbsp;artist&nbsp;the&nbsp;most.<br>
#&nbsp;Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;limit&nbsp;int:&nbsp;Max&nbsp;elements.</tt></dd></dl>
<dl><dt><a name="Artist-get_top_tracks"><strong>get_top_tracks</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;most&nbsp;played&nbsp;Tracks&nbsp;by&nbsp;this&nbsp;artist.</tt></dd></dl>
<dl><dt><a name="Artist-get_upcoming_events"><strong>get_upcoming_events</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;upcoming&nbsp;Events&nbsp;for&nbsp;this&nbsp;artist.</tt></dd></dl>
<dl><dt><a name="Artist-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;artist&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
#&nbsp;Parameters:<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="Artist-is_streamable"><strong>is_streamable</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;the&nbsp;artist&nbsp;is&nbsp;streamable.</tt></dd></dl>
<dl><dt><a name="Artist-share"><strong>share</strong></a>(self, users, message<font color="#909090">=None</font>)</dt><dd><tt>Shares&nbsp;this&nbsp;artist&nbsp;(sends&nbsp;out&nbsp;recommendations).&nbsp;<br>
#&nbsp;Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;users&nbsp;[<a href="#User">User</a>|str,]:&nbsp;A&nbsp;list&nbsp;that&nbsp;can&nbsp;contain&nbsp;usernames,&nbsp;emails,&nbsp;<a href="#User">User</a>&nbsp;objects,&nbsp;or&nbsp;all&nbsp;of&nbsp;them.<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;message&nbsp;str:&nbsp;A&nbsp;message&nbsp;to&nbsp;include&nbsp;in&nbsp;the&nbsp;recommendation&nbsp;message.</tt></dd></dl>
<dl><dt><a name="Artist-shout"><strong>shout</strong></a>(self, message)</dt><dd><tt>Post&nbsp;a&nbsp;shout</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>name</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Artist-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_Taggable">_Taggable</a>:<br>
<dl><dt><a name="Artist-add_tag"><strong>add_tag</strong></a>(self, tag)</dt><dd><tt>Adds&nbsp;one&nbsp;tag.<br>
*&nbsp;tag:&nbsp;a&nbsp;tag&nbsp;name&nbsp;or&nbsp;a&nbsp;<a href="#Tag">Tag</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Artist-add_tags"><strong>add_tags</strong></a>(self, tags)</dt><dd><tt>Adds&nbsp;one&nbsp;or&nbsp;several&nbsp;tags.<br>
*&nbsp;tags:&nbsp;A&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="Artist-clear_tags"><strong>clear_tags</strong></a>(self)</dt><dd><tt>Clears&nbsp;all&nbsp;the&nbsp;user-set&nbsp;tags.</tt></dd></dl>
<dl><dt><a name="Artist-get_tags"><strong>get_tags</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;tags&nbsp;set&nbsp;by&nbsp;the&nbsp;user&nbsp;to&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Artist-get_top_tags"><strong>get_top_tags</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;most&nbsp;frequently&nbsp;used&nbsp;Tags&nbsp;on&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Artist-remove_tag"><strong>remove_tag</strong></a>(self, tag)</dt><dd><tt>Remove&nbsp;a&nbsp;user's&nbsp;tag&nbsp;from&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Artist-remove_tags"><strong>remove_tags</strong></a>(self, tags)</dt><dd><tt>Removes&nbsp;one&nbsp;or&nbsp;several&nbsp;tags&nbsp;from&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.<br>
*&nbsp;tags:&nbsp;a&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="Artist-set_tags"><strong>set_tags</strong></a>(self, tags)</dt><dd><tt>Sets&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>'s&nbsp;tags&nbsp;to&nbsp;only&nbsp;those&nbsp;tags.<br>
*&nbsp;tags:&nbsp;a&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ArtistSearch">class <strong>ArtistSearch</strong></a>(<a href="pylast.html#_Search">_Search</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Search&nbsp;for&nbsp;an&nbsp;artist&nbsp;by&nbsp;artist&nbsp;name.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#ArtistSearch">ArtistSearch</a></dd>
<dd><a href="pylast.html#_Search">_Search</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ArtistSearch-__init__"><strong>__init__</strong></a>(self, artist_name, network)</dt></dl>
<dl><dt><a name="ArtistSearch-get_next_page"><strong>get_next_page</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;next&nbsp;page&nbsp;of&nbsp;results&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Artist">Artist</a>&nbsp;objects.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_Search">_Search</a>:<br>
<dl><dt><a name="ArtistSearch-get_total_result_count"><strong>get_total_result_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;total&nbsp;count&nbsp;of&nbsp;all&nbsp;the&nbsp;results.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="ArtistSearch-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="AuthenticatedUser">class <strong>AuthenticatedUser</strong></a>(<a href="pylast.html#User">User</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#AuthenticatedUser">AuthenticatedUser</a></dd>
<dd><a href="pylast.html#User">User</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="AuthenticatedUser-__init__"><strong>__init__</strong></a>(self, network)</dt></dl>
<dl><dt><a name="AuthenticatedUser-get_name"><strong>get_name</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;authenticated&nbsp;user.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_recommended_artists"><strong>get_recommended_artists</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Event">Event</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_recommended_events"><strong>get_recommended_events</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Event">Event</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#User">User</a>:<br>
<dl><dt><a name="AuthenticatedUser-__eq__"><strong>__eq__</strong></a>(self, another)</dt></dl>
<dl><dt><a name="AuthenticatedUser-__ne__"><strong>__ne__</strong></a>(self, another)</dt></dl>
<dl><dt><a name="AuthenticatedUser-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="AuthenticatedUser-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="AuthenticatedUser-compare_with_user"><strong>compare_with_user</strong></a>(self, user, shared_artists_limit<font color="#909090">=None</font>)</dt><dd><tt>Compare&nbsp;this&nbsp;user&nbsp;with&nbsp;another&nbsp;Last.fm&nbsp;user.<br>
Returns&nbsp;a&nbsp;sequence&nbsp;(tasteometer_score,&nbsp;(shared_artist1,&nbsp;shared_artist2,&nbsp;...))<br>
user:&nbsp;A&nbsp;<a href="#User">User</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;or&nbsp;a&nbsp;username&nbsp;string/unicode&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_age"><strong>get_age</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;age.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_country"><strong>get_country</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;country&nbsp;of&nbsp;the&nbsp;user.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_friends"><strong>get_friends</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;user's&nbsp;friends.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_gender"><strong>get_gender</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;gender.&nbsp;Either&nbsp;USER_MALE&nbsp;or&nbsp;USER_FEMALE.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user&nbsp;id.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_image"><strong>get_image</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;avatar.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_language"><strong>get_language</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;language&nbsp;code&nbsp;of&nbsp;the&nbsp;language&nbsp;used&nbsp;by&nbsp;the&nbsp;user.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_library"><strong>get_library</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;associated&nbsp;<a href="#Library">Library</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_loved_tracks"><strong>get_loved_tracks</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;this&nbsp;user's&nbsp;loved&nbsp;track&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#LovedTrack">LovedTrack</a>&nbsp;objects<br>
in&nbsp;reverse&nbsp;order&nbsp;of&nbsp;their&nbsp;timestamp,&nbsp;all&nbsp;the&nbsp;way&nbsp;back&nbsp;to&nbsp;the&nbsp;first&nbsp;track.<br>
&nbsp;<br>
If&nbsp;limit==None,&nbsp;it&nbsp;will&nbsp;try&nbsp;to&nbsp;pull&nbsp;all&nbsp;the&nbsp;available&nbsp;data.<br>
&nbsp;<br>
This&nbsp;method&nbsp;uses&nbsp;caching.&nbsp;Enable&nbsp;caching&nbsp;only&nbsp;if&nbsp;you're&nbsp;pulling&nbsp;a<br>
large&nbsp;amount&nbsp;of&nbsp;data.<br>
&nbsp;<br>
Use&nbsp;<a href="#-extract_items">extract_items</a>()&nbsp;with&nbsp;the&nbsp;return&nbsp;of&nbsp;this&nbsp;function&nbsp;to<br>
get&nbsp;only&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Track">Track</a>&nbsp;objects&nbsp;with&nbsp;no&nbsp;playback&nbsp;dates.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_neighbours"><strong>get_neighbours</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;user's&nbsp;friends.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_now_playing"><strong>get_now_playing</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;currently&nbsp;playing&nbsp;track,&nbsp;or&nbsp;None&nbsp;if&nbsp;nothing&nbsp;is&nbsp;playing.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_past_events"><strong>get_past_events</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Event">Event</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_playcount"><strong>get_playcount</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;playcount&nbsp;so&nbsp;far.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_playlists"><strong>get_playlists</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;Playlists&nbsp;that&nbsp;this&nbsp;user&nbsp;owns.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_recent_tracks"><strong>get_recent_tracks</strong></a>(self, limit<font color="#909090">=10</font>)</dt><dd><tt>Returns&nbsp;this&nbsp;user's&nbsp;played&nbsp;track&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#PlayedTrack">PlayedTrack</a>&nbsp;objects<br>
in&nbsp;reverse&nbsp;order&nbsp;of&nbsp;their&nbsp;playtime,&nbsp;all&nbsp;the&nbsp;way&nbsp;back&nbsp;to&nbsp;the&nbsp;first&nbsp;track.<br>
&nbsp;<br>
If&nbsp;limit==None,&nbsp;it&nbsp;will&nbsp;try&nbsp;to&nbsp;pull&nbsp;all&nbsp;the&nbsp;available&nbsp;data.<br>
&nbsp;<br>
This&nbsp;method&nbsp;uses&nbsp;caching.&nbsp;Enable&nbsp;caching&nbsp;only&nbsp;if&nbsp;you're&nbsp;pulling&nbsp;a<br>
large&nbsp;amount&nbsp;of&nbsp;data.<br>
&nbsp;<br>
Use&nbsp;<a href="#-extract_items">extract_items</a>()&nbsp;with&nbsp;the&nbsp;return&nbsp;of&nbsp;this&nbsp;function&nbsp;to<br>
get&nbsp;only&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Track">Track</a>&nbsp;objects&nbsp;with&nbsp;no&nbsp;playback&nbsp;dates.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_shouts"><strong>get_shouts</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequqence&nbsp;of&nbsp;<a href="#Shout">Shout</a>&nbsp;objects</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_top_albums"><strong>get_top_albums</strong></a>(self, period<font color="#909090">='overall'</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;top&nbsp;albums&nbsp;played&nbsp;by&nbsp;a&nbsp;user.&nbsp;<br>
*&nbsp;period:&nbsp;The&nbsp;period&nbsp;of&nbsp;time.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;PERIOD_OVERALL<br>
&nbsp;&nbsp;o&nbsp;PERIOD_7DAYS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_3MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_6MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_12MONTHS</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_top_artists"><strong>get_top_artists</strong></a>(self, period<font color="#909090">='overall'</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;top&nbsp;artists&nbsp;played&nbsp;by&nbsp;a&nbsp;user.&nbsp;<br>
*&nbsp;period:&nbsp;The&nbsp;period&nbsp;of&nbsp;time.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;PERIOD_OVERALL<br>
&nbsp;&nbsp;o&nbsp;PERIOD_7DAYS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_3MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_6MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_12MONTHS</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_top_tags"><strong>get_top_tags</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;the&nbsp;top&nbsp;tags&nbsp;used&nbsp;by&nbsp;this&nbsp;user&nbsp;with&nbsp;their&nbsp;counts&nbsp;as&nbsp;(<a href="#Tag">Tag</a>,&nbsp;tagcount).&nbsp;<br>
*&nbsp;limit:&nbsp;The&nbsp;limit&nbsp;of&nbsp;how&nbsp;many&nbsp;tags&nbsp;to&nbsp;return.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_top_tracks"><strong>get_top_tracks</strong></a>(self, period<font color="#909090">='overall'</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;top&nbsp;tracks&nbsp;played&nbsp;by&nbsp;a&nbsp;user.&nbsp;<br>
*&nbsp;period:&nbsp;The&nbsp;period&nbsp;of&nbsp;time.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;PERIOD_OVERALL<br>
&nbsp;&nbsp;o&nbsp;PERIOD_7DAYS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_3MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_6MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_12MONTHS</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_upcoming_events"><strong>get_upcoming_events</strong></a>(self)</dt><dd><tt>Returns&nbsp;all&nbsp;the&nbsp;upcoming&nbsp;events&nbsp;for&nbsp;this&nbsp;user.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;user&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_weekly_album_charts"><strong>get_weekly_album_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;album&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_weekly_artist_charts"><strong>get_weekly_artist_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;artist&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_weekly_chart_dates"><strong>get_weekly_chart_dates</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;From&nbsp;and&nbsp;To&nbsp;tuples&nbsp;for&nbsp;the&nbsp;available&nbsp;charts.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-get_weekly_track_charts"><strong>get_weekly_track_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;track&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-is_subscriber"><strong>is_subscriber</strong></a>(self)</dt><dd><tt>Returns&nbsp;whether&nbsp;the&nbsp;user&nbsp;is&nbsp;a&nbsp;subscriber&nbsp;or&nbsp;not.&nbsp;True&nbsp;or&nbsp;False.</tt></dd></dl>
<dl><dt><a name="AuthenticatedUser-shout"><strong>shout</strong></a>(self, message)</dt><dd><tt>Post&nbsp;a&nbsp;shout</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#User">User</a>:<br>
<dl><dt><strong>name</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="AuthenticatedUser-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BadAuthenticationError">class <strong>BadAuthenticationError</strong></a>(<a href="pylast.html#ScrobblingError">ScrobblingError</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#BadAuthenticationError">BadAuthenticationError</a></dd>
<dd><a href="pylast.html#ScrobblingError">ScrobblingError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="BadAuthenticationError-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><a name="BadAuthenticationError-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#BadAuthenticationError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="BadAuthenticationError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadAuthenticationError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BadAuthenticationError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BadAuthenticationError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BadAuthenticationError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BadAuthenticationError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="BadAuthenticationError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#BadAuthenticationError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="BadAuthenticationError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="BadAuthenticationError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadAuthenticationError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="BadAuthenticationError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadAuthenticationError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="BadAuthenticationError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="BadAuthenticationError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BadSessionError">class <strong>BadSessionError</strong></a>(<a href="pylast.html#ScrobblingError">ScrobblingError</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#BadSessionError">BadSessionError</a></dd>
<dd><a href="pylast.html#ScrobblingError">ScrobblingError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="BadSessionError-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><a name="BadSessionError-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#BadSessionError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="BadSessionError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadSessionError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BadSessionError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BadSessionError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BadSessionError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BadSessionError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="BadSessionError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#BadSessionError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="BadSessionError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="BadSessionError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadSessionError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="BadSessionError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadSessionError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="BadSessionError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="BadSessionError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BadTimeError">class <strong>BadTimeError</strong></a>(<a href="pylast.html#ScrobblingError">ScrobblingError</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#BadTimeError">BadTimeError</a></dd>
<dd><a href="pylast.html#ScrobblingError">ScrobblingError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="BadTimeError-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><a name="BadTimeError-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#BadTimeError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="BadTimeError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadTimeError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BadTimeError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BadTimeError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BadTimeError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BadTimeError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="BadTimeError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#BadTimeError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="BadTimeError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="BadTimeError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadTimeError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="BadTimeError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BadTimeError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="BadTimeError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="BadTimeError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BannedClientError">class <strong>BannedClientError</strong></a>(<a href="pylast.html#ScrobblingError">ScrobblingError</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#BannedClientError">BannedClientError</a></dd>
<dd><a href="pylast.html#ScrobblingError">ScrobblingError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="BannedClientError-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><a name="BannedClientError-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#ScrobblingError">ScrobblingError</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#BannedClientError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="BannedClientError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BannedClientError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BannedClientError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BannedClientError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="BannedClientError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BannedClientError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="BannedClientError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#BannedClientError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="BannedClientError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="BannedClientError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BannedClientError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="BannedClientError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BannedClientError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="BannedClientError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="BannedClientError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Country">class <strong>Country</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;country&nbsp;at&nbsp;Last.fm.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Country">Country</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Country-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Country-__init__"><strong>__init__</strong></a>(self, name, network)</dt></dl>
<dl><dt><a name="Country-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Country-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Country-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Country-get_name"><strong>get_name</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;country&nbsp;name.</tt></dd></dl>
<dl><dt><a name="Country-get_top_artists"><strong>get_top_artists</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;the&nbsp;most&nbsp;played&nbsp;artists.</tt></dd></dl>
<dl><dt><a name="Country-get_top_tracks"><strong>get_top_tracks</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;the&nbsp;most&nbsp;played&nbsp;tracks</tt></dd></dl>
<dl><dt><a name="Country-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;event&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>name</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Country-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Event">class <strong>Event</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>An&nbsp;event.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Event">Event</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Event-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Event-__init__"><strong>__init__</strong></a>(self, event_id, network)</dt></dl>
<dl><dt><a name="Event-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Event-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Event-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Event-attend"><strong>attend</strong></a>(self, attending_status)</dt><dd><tt>Sets&nbsp;the&nbsp;attending&nbsp;status.<br>
*&nbsp;attending_status:&nbsp;The&nbsp;attending&nbsp;status.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;EVENT_ATTENDING<br>
&nbsp;&nbsp;o&nbsp;EVENT_MAYBE_ATTENDING<br>
&nbsp;&nbsp;o&nbsp;EVENT_NOT_ATTENDING</tt></dd></dl>
<dl><dt><a name="Event-get_artists"><strong>get_artists</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;participating&nbsp;Artists.</tt></dd></dl>
<dl><dt><a name="Event-get_attendance_count"><strong>get_attendance_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;attending&nbsp;people.</tt></dd></dl>
<dl><dt><a name="Event-get_attendees"><strong>get_attendees</strong></a>(self)</dt><dd><tt>Get&nbsp;a&nbsp;list&nbsp;of&nbsp;attendees&nbsp;for&nbsp;an&nbsp;event</tt></dd></dl>
<dl><dt><a name="Event-get_cover_image"><strong>get_cover_image</strong></a>(self, size<font color="#909090">=4</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;uri&nbsp;to&nbsp;the&nbsp;cover&nbsp;image<br>
size&nbsp;can&nbsp;be&nbsp;one&nbsp;of:<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_MEGA<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_EXTRA_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_MEDIUM<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_SMALL</tt></dd></dl>
<dl><dt><a name="Event-get_description"><strong>get_description</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;description&nbsp;of&nbsp;the&nbsp;event.</tt></dd></dl>
<dl><dt><a name="Event-get_headliner"><strong>get_headliner</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;headliner&nbsp;of&nbsp;the&nbsp;event.</tt></dd></dl>
<dl><dt><a name="Event-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;id&nbsp;of&nbsp;the&nbsp;event&nbsp;on&nbsp;the&nbsp;network.</tt></dd></dl>
<dl><dt><a name="Event-get_review_count"><strong>get_review_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;available&nbsp;reviews&nbsp;for&nbsp;this&nbsp;event.</tt></dd></dl>
<dl><dt><a name="Event-get_shouts"><strong>get_shouts</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequqence&nbsp;of&nbsp;<a href="#Shout">Shout</a>&nbsp;objects</tt></dd></dl>
<dl><dt><a name="Event-get_start_date"><strong>get_start_date</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;date&nbsp;when&nbsp;the&nbsp;event&nbsp;starts.</tt></dd></dl>
<dl><dt><a name="Event-get_title"><strong>get_title</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;title&nbsp;of&nbsp;the&nbsp;event.</tt></dd></dl>
<dl><dt><a name="Event-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;event&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="Event-get_venue"><strong>get_venue</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;venue&nbsp;where&nbsp;the&nbsp;event&nbsp;is&nbsp;held.</tt></dd></dl>
<dl><dt><a name="Event-share"><strong>share</strong></a>(self, users, message<font color="#909090">=None</font>)</dt><dd><tt>Shares&nbsp;this&nbsp;event&nbsp;(sends&nbsp;out&nbsp;recommendations).&nbsp;<br>
*&nbsp;users:&nbsp;A&nbsp;list&nbsp;that&nbsp;can&nbsp;contain&nbsp;usernames,&nbsp;emails,&nbsp;<a href="#User">User</a>&nbsp;objects,&nbsp;or&nbsp;all&nbsp;of&nbsp;them.<br>
*&nbsp;message:&nbsp;A&nbsp;message&nbsp;to&nbsp;include&nbsp;in&nbsp;the&nbsp;recommendation&nbsp;message.</tt></dd></dl>
<dl><dt><a name="Event-shout"><strong>shout</strong></a>(self, message)</dt><dd><tt>Post&nbsp;a&nbsp;shout</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>id</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Event-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Group">class <strong>Group</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;Last.fm&nbsp;group.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Group">Group</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Group-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Group-__init__"><strong>__init__</strong></a>(self, group_name, network)</dt></dl>
<dl><dt><a name="Group-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Group-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Group-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Group-get_members"><strong>get_members</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#User">User</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all</tt></dd></dl>
<dl><dt><a name="Group-get_name"><strong>get_name</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;group&nbsp;name.</tt></dd></dl>
<dl><dt><a name="Group-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;group&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="Group-get_weekly_album_charts"><strong>get_weekly_album_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;album&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="Group-get_weekly_artist_charts"><strong>get_weekly_artist_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;artist&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="Group-get_weekly_chart_dates"><strong>get_weekly_chart_dates</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;From&nbsp;and&nbsp;To&nbsp;tuples&nbsp;for&nbsp;the&nbsp;available&nbsp;charts.</tt></dd></dl>
<dl><dt><a name="Group-get_weekly_track_charts"><strong>get_weekly_track_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;track&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>name</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Group-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Image">class <strong>Image</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#Image">Image</a>(title,&nbsp;url,&nbsp;dateadded,&nbsp;format,&nbsp;owner,&nbsp;sizes,&nbsp;votes)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Image">Image</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Image-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="Image-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="Image-__new__"><strong>__new__</strong></a>(_cls, title, url, dateadded, format, owner, sizes, votes)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>dateadded</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>format</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>owner</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>sizes</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>title</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>url</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>votes</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="Image-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="Image-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="Image-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="Image-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="Image-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="Image-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="Image-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="Image-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="Image-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="Image-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="Image-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="Image-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="Image-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="Image-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="Image-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="Image-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#Image-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="Image-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#Image-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="Image-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#Image-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="Image-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#Image-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ImageSizes">class <strong>ImageSizes</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#ImageSizes">ImageSizes</a>(original,&nbsp;large,&nbsp;largesquare,&nbsp;medium,&nbsp;small,&nbsp;extralarge)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#ImageSizes">ImageSizes</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ImageSizes-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="ImageSizes-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="ImageSizes-__new__"><strong>__new__</strong></a>(_cls, original, large, largesquare, medium, small, extralarge)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>extralarge</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>large</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>largesquare</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>medium</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>original</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>small</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="ImageSizes-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="ImageSizes-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="ImageSizes-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="ImageSizes-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="ImageSizes-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="ImageSizes-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="ImageSizes-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="ImageSizes-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="ImageSizes-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="ImageSizes-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="ImageSizes-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="ImageSizes-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="ImageSizes-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="ImageSizes-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="ImageSizes-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="ImageSizes-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#ImageSizes-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="ImageSizes-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#ImageSizes-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="ImageSizes-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#ImageSizes-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="ImageSizes-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#ImageSizes-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="LastFMNetwork">class <strong>LastFMNetwork</strong></a>(<a href="pylast.html#_Network">_Network</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;Last.fm&nbsp;network&nbsp;<a href="__builtin__.html#object">object</a><br>
&nbsp;<br>
api_key:&nbsp;a&nbsp;provided&nbsp;API_KEY<br>
api_secret:&nbsp;a&nbsp;provided&nbsp;API_SECRET<br>
session_key:&nbsp;a&nbsp;generated&nbsp;session_key&nbsp;or&nbsp;None<br>
username:&nbsp;a&nbsp;username&nbsp;of&nbsp;a&nbsp;valid&nbsp;user<br>
password_hash:&nbsp;the&nbsp;output&nbsp;of&nbsp;pylast.<a href="#-md5">md5</a>(password)&nbsp;where&nbsp;password&nbsp;is&nbsp;the&nbsp;user's&nbsp;password<br>
&nbsp;<br>
if&nbsp;username&nbsp;and&nbsp;password_hash&nbsp;were&nbsp;provided&nbsp;and&nbsp;not&nbsp;session_key,&nbsp;session_key&nbsp;will&nbsp;be<br>
generated&nbsp;automatically&nbsp;when&nbsp;needed.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
Either&nbsp;a&nbsp;valid&nbsp;session_key&nbsp;or&nbsp;a&nbsp;combination&nbsp;of&nbsp;username&nbsp;and&nbsp;password_hash&nbsp;must&nbsp;be&nbsp;present&nbsp;for&nbsp;scrobbling.<br>
&nbsp;<br>
Most&nbsp;read-only&nbsp;webservices&nbsp;only&nbsp;require&nbsp;an&nbsp;api_key&nbsp;and&nbsp;an&nbsp;api_secret,&nbsp;see&nbsp;about&nbsp;obtaining&nbsp;them&nbsp;from:<br>
<a href="http://www.last.fm/api/account">http://www.last.fm/api/account</a><br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#LastFMNetwork">LastFMNetwork</a></dd>
<dd><a href="pylast.html#_Network">_Network</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LastFMNetwork-__init__"><strong>__init__</strong></a>(self, api_key<font color="#909090">=''</font>, api_secret<font color="#909090">=''</font>, session_key<font color="#909090">=''</font>, username<font color="#909090">=''</font>, password_hash<font color="#909090">=''</font>)</dt></dl>
<dl><dt><a name="LastFMNetwork-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="pylast.html#_Network">_Network</a>:<br>
<dl><dt><a name="LastFMNetwork-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<dl><dt><a name="LastFMNetwork-create_new_playlist"><strong>create_new_playlist</strong></a>(self, title, description)</dt><dd><tt>Creates&nbsp;a&nbsp;playlist&nbsp;for&nbsp;the&nbsp;authenticated&nbsp;user&nbsp;and&nbsp;returns&nbsp;it<br>
&nbsp;&nbsp;&nbsp;&nbsp;title:&nbsp;The&nbsp;title&nbsp;of&nbsp;the&nbsp;new&nbsp;playlist.<br>
&nbsp;&nbsp;&nbsp;&nbsp;description:&nbsp;The&nbsp;description&nbsp;of&nbsp;the&nbsp;new&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-disable_caching"><strong>disable_caching</strong></a>(self)</dt><dd><tt>Disables&nbsp;all&nbsp;caching&nbsp;features.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-disable_proxy"><strong>disable_proxy</strong></a>(self)</dt><dd><tt>Disable&nbsp;using&nbsp;the&nbsp;web&nbsp;proxy</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-enable_caching"><strong>enable_caching</strong></a>(self, file_path<font color="#909090">=None</font>)</dt><dd><tt>Enables&nbsp;caching&nbsp;request-wide&nbsp;for&nbsp;all&nbsp;cachable&nbsp;calls.<br>
In&nbsp;choosing&nbsp;the&nbsp;backend&nbsp;used&nbsp;for&nbsp;caching,&nbsp;it&nbsp;will&nbsp;try&nbsp;_SqliteCacheBackend&nbsp;first&nbsp;if<br>
the&nbsp;module&nbsp;sqlite3&nbsp;is&nbsp;present.&nbsp;If&nbsp;not,&nbsp;it&nbsp;will&nbsp;fallback&nbsp;to&nbsp;_ShelfCacheBackend&nbsp;which&nbsp;uses&nbsp;shelve.Shelf&nbsp;objects.<br>
&nbsp;<br>
*&nbsp;file_path:&nbsp;A&nbsp;file&nbsp;path&nbsp;for&nbsp;the&nbsp;backend&nbsp;storage&nbsp;file.&nbsp;If&nbsp;<br>
None&nbsp;set,&nbsp;a&nbsp;temp&nbsp;file&nbsp;would&nbsp;probably&nbsp;be&nbsp;created,&nbsp;according&nbsp;the&nbsp;backend.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-enable_proxy"><strong>enable_proxy</strong></a>(self, host, port)</dt><dd><tt>Enable&nbsp;a&nbsp;default&nbsp;web&nbsp;proxy</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_album"><strong>get_album</strong></a>(self, artist, title)</dt><dd><tt>Return&nbsp;an&nbsp;<a href="#Album">Album</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_album_by_mbid"><strong>get_album_by_mbid</strong></a>(self, mbid)</dt><dd><tt>Looks&nbsp;up&nbsp;an&nbsp;album&nbsp;by&nbsp;its&nbsp;MusicBrainz&nbsp;ID</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_artist"><strong>get_artist</strong></a>(self, artist_name)</dt><dd><tt>Return&nbsp;an&nbsp;<a href="#Artist">Artist</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_artist_by_mbid"><strong>get_artist_by_mbid</strong></a>(self, mbid)</dt><dd><tt>Loooks&nbsp;up&nbsp;an&nbsp;artist&nbsp;by&nbsp;its&nbsp;MusicBrainz&nbsp;ID</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_authenticated_user"><strong>get_authenticated_user</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;authenticated&nbsp;user</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_country"><strong>get_country</strong></a>(self, country_name)</dt><dd><tt>Returns&nbsp;a&nbsp;country&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_group"><strong>get_group</strong></a>(self, name)</dt><dd><tt>Returns&nbsp;a&nbsp;<a href="#Group">Group</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_scrobbler"><strong>get_scrobbler</strong></a>(self, client_id, client_version)</dt><dd><tt>Returns&nbsp;a&nbsp;<a href="#Scrobbler">Scrobbler</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;used&nbsp;for&nbsp;submitting&nbsp;tracks&nbsp;to&nbsp;the&nbsp;server<br>
&nbsp;<br>
Quote&nbsp;from&nbsp;<a href="http://www.last.fm/api/submissions">http://www.last.fm/api/submissions</a>:<br>
========<br>
Client&nbsp;identifiers&nbsp;are&nbsp;used&nbsp;to&nbsp;provide&nbsp;a&nbsp;centrally&nbsp;managed&nbsp;database&nbsp;of&nbsp;<br>
the&nbsp;client&nbsp;versions,&nbsp;allowing&nbsp;clients&nbsp;to&nbsp;be&nbsp;banned&nbsp;if&nbsp;they&nbsp;are&nbsp;found&nbsp;to&nbsp;<br>
be&nbsp;behaving&nbsp;undesirably.&nbsp;The&nbsp;client&nbsp;ID&nbsp;is&nbsp;associated&nbsp;with&nbsp;a&nbsp;version&nbsp;<br>
number&nbsp;on&nbsp;the&nbsp;server,&nbsp;however&nbsp;these&nbsp;are&nbsp;only&nbsp;incremented&nbsp;if&nbsp;a&nbsp;client&nbsp;is&nbsp;<br>
banned&nbsp;and&nbsp;do&nbsp;not&nbsp;have&nbsp;to&nbsp;reflect&nbsp;the&nbsp;version&nbsp;of&nbsp;the&nbsp;actual&nbsp;client&nbsp;application.<br>
&nbsp;<br>
During&nbsp;development,&nbsp;clients&nbsp;which&nbsp;have&nbsp;not&nbsp;been&nbsp;allocated&nbsp;an&nbsp;identifier&nbsp;should&nbsp;<br>
use&nbsp;the&nbsp;identifier&nbsp;tst,&nbsp;with&nbsp;a&nbsp;version&nbsp;number&nbsp;of&nbsp;1.0.&nbsp;Do&nbsp;not&nbsp;distribute&nbsp;code&nbsp;or<br>
client&nbsp;implementations&nbsp;which&nbsp;use&nbsp;this&nbsp;test&nbsp;identifier.&nbsp;Do&nbsp;not&nbsp;use&nbsp;the&nbsp;identifiers<br>
used&nbsp;by&nbsp;other&nbsp;clients.<br>
=========<br>
&nbsp;<br>
To&nbsp;obtain&nbsp;a&nbsp;new&nbsp;client&nbsp;identifier&nbsp;please&nbsp;contact:<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Last.fm:&nbsp;submissions@last.fm<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;#&nbsp;TODO:&nbsp;list&nbsp;others<br>
&nbsp;<br>
...and&nbsp;provide&nbsp;us&nbsp;with&nbsp;the&nbsp;name&nbsp;of&nbsp;your&nbsp;client&nbsp;and&nbsp;its&nbsp;homepage&nbsp;address.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_tag"><strong>get_tag</strong></a>(self, name)</dt><dd><tt>Returns&nbsp;a&nbsp;tag&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_top_tags"><strong>get_top_tags</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;the&nbsp;most&nbsp;used&nbsp;tags&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#TopItem">TopItem</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_track"><strong>get_track</strong></a>(self, artist, title)</dt><dd><tt>Return&nbsp;a&nbsp;<a href="#Track">Track</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_track_by_mbid"><strong>get_track_by_mbid</strong></a>(self, mbid)</dt><dd><tt>Looks&nbsp;up&nbsp;a&nbsp;track&nbsp;by&nbsp;its&nbsp;MusicBrainz&nbsp;ID</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-get_user"><strong>get_user</strong></a>(self, username)</dt><dd><tt>Returns&nbsp;a&nbsp;user&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LastFMNetwork-is_caching_enabled"><strong>is_caching_enabled</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;caching&nbsp;is&nbsp;enabled.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-is_proxy_enabled"><strong>is_proxy_enabled</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;a&nbsp;web&nbsp;proxy&nbsp;is&nbsp;enabled.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-scrobble"><strong>scrobble</strong></a>(self, artist, title, timestamp, album<font color="#909090">=None</font>, album_artist<font color="#909090">=None</font>, track_number<font color="#909090">=None</font>, duration<font color="#909090">=None</font>, stream_id<font color="#909090">=None</font>, context<font color="#909090">=None</font>, mbid<font color="#909090">=None</font>)</dt><dd><tt>Used&nbsp;to&nbsp;add&nbsp;a&nbsp;track-play&nbsp;to&nbsp;a&nbsp;user's&nbsp;profile.<br>
&nbsp;<br>
Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;artist&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;artist&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;title&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;track&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;timestamp&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;time&nbsp;the&nbsp;track&nbsp;started&nbsp;playing,&nbsp;in&nbsp;UNIX&nbsp;timestamp&nbsp;format&nbsp;(integer&nbsp;number&nbsp;of&nbsp;seconds&nbsp;since&nbsp;00:00:00,&nbsp;January&nbsp;1st&nbsp;1970&nbsp;UTC).&nbsp;This&nbsp;must&nbsp;be&nbsp;in&nbsp;the&nbsp;UTC&nbsp;time&nbsp;zone.<br>
&nbsp;&nbsp;&nbsp;&nbsp;album&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;album_artist&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;artist&nbsp;-&nbsp;if&nbsp;this&nbsp;differs&nbsp;from&nbsp;the&nbsp;track&nbsp;artist.<br>
&nbsp;&nbsp;&nbsp;&nbsp;context&nbsp;(Optional)&nbsp;:&nbsp;Sub-client&nbsp;version&nbsp;(not&nbsp;public,&nbsp;only&nbsp;enabled&nbsp;for&nbsp;certain&nbsp;API&nbsp;keys)<br>
&nbsp;&nbsp;&nbsp;&nbsp;stream_id&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;stream&nbsp;id&nbsp;for&nbsp;this&nbsp;track&nbsp;received&nbsp;from&nbsp;the&nbsp;radio.getPlaylist&nbsp;service.<br>
&nbsp;&nbsp;&nbsp;&nbsp;track_number&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;track&nbsp;number&nbsp;of&nbsp;the&nbsp;track&nbsp;on&nbsp;the&nbsp;album.<br>
&nbsp;&nbsp;&nbsp;&nbsp;mbid&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;MusicBrainz&nbsp;<a href="#Track">Track</a>&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;duration&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;length&nbsp;of&nbsp;the&nbsp;track&nbsp;in&nbsp;seconds.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-scrobble_many"><strong>scrobble_many</strong></a>(self, tracks)</dt><dd><tt>Used&nbsp;to&nbsp;scrobble&nbsp;a&nbsp;batch&nbsp;of&nbsp;tracks&nbsp;at&nbsp;once.&nbsp;The&nbsp;parameter&nbsp;tracks&nbsp;is&nbsp;a&nbsp;sequence&nbsp;of&nbsp;dicts&nbsp;per<br>
track&nbsp;containing&nbsp;the&nbsp;keyword&nbsp;arguments&nbsp;as&nbsp;if&nbsp;passed&nbsp;to&nbsp;the&nbsp;<a href="#LastFMNetwork-scrobble">scrobble</a>()&nbsp;method.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-search_for_album"><strong>search_for_album</strong></a>(self, album_name)</dt><dd><tt>Searches&nbsp;for&nbsp;an&nbsp;album&nbsp;by&nbsp;its&nbsp;name.&nbsp;Returns&nbsp;a&nbsp;<a href="#AlbumSearch">AlbumSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-search_for_artist"><strong>search_for_artist</strong></a>(self, artist_name)</dt><dd><tt>Searches&nbsp;of&nbsp;an&nbsp;artist&nbsp;by&nbsp;its&nbsp;name.&nbsp;Returns&nbsp;a&nbsp;<a href="#ArtistSearch">ArtistSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-search_for_tag"><strong>search_for_tag</strong></a>(self, tag_name)</dt><dd><tt>Searches&nbsp;of&nbsp;a&nbsp;tag&nbsp;by&nbsp;its&nbsp;name.&nbsp;Returns&nbsp;a&nbsp;<a href="#TagSearch">TagSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-search_for_track"><strong>search_for_track</strong></a>(self, artist_name, track_name)</dt><dd><tt>Searches&nbsp;of&nbsp;a&nbsp;track&nbsp;by&nbsp;its&nbsp;name&nbsp;and&nbsp;its&nbsp;artist.&nbsp;Set&nbsp;artist&nbsp;to&nbsp;an&nbsp;empty&nbsp;string&nbsp;if&nbsp;not&nbsp;available.<br>
Returns&nbsp;a&nbsp;<a href="#TrackSearch">TrackSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-search_for_venue"><strong>search_for_venue</strong></a>(self, venue_name, country_name)</dt><dd><tt>Searches&nbsp;of&nbsp;a&nbsp;venue&nbsp;by&nbsp;its&nbsp;name&nbsp;and&nbsp;its&nbsp;country.&nbsp;Set&nbsp;country_name&nbsp;to&nbsp;an&nbsp;empty&nbsp;string&nbsp;if&nbsp;not&nbsp;available.<br>
Returns&nbsp;a&nbsp;<a href="#VenueSearch">VenueSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LastFMNetwork-update_now_playing"><strong>update_now_playing</strong></a>(self, artist, title, album<font color="#909090">=None</font>, album_artist<font color="#909090">=None</font>, duration<font color="#909090">=None</font>, track_number<font color="#909090">=None</font>, mbid<font color="#909090">=None</font>, context<font color="#909090">=None</font>)</dt><dd><tt>Used&nbsp;to&nbsp;notify&nbsp;Last.fm&nbsp;that&nbsp;a&nbsp;user&nbsp;has&nbsp;started&nbsp;listening&nbsp;to&nbsp;a&nbsp;track.&nbsp;<br>
&nbsp;<br>
Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;artist&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;artist&nbsp;name<br>
&nbsp;&nbsp;&nbsp;&nbsp;title&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;track&nbsp;title<br>
&nbsp;&nbsp;&nbsp;&nbsp;album&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;album_artist&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;artist&nbsp;-&nbsp;if&nbsp;this&nbsp;differs&nbsp;from&nbsp;the&nbsp;track&nbsp;artist.<br>
&nbsp;&nbsp;&nbsp;&nbsp;duration&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;length&nbsp;of&nbsp;the&nbsp;track&nbsp;in&nbsp;seconds.<br>
&nbsp;&nbsp;&nbsp;&nbsp;track_number&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;track&nbsp;number&nbsp;of&nbsp;the&nbsp;track&nbsp;on&nbsp;the&nbsp;album.<br>
&nbsp;&nbsp;&nbsp;&nbsp;mbid&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;MusicBrainz&nbsp;<a href="#Track">Track</a>&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;context&nbsp;(Optional)&nbsp;:&nbsp;Sub-client&nbsp;version&nbsp;(not&nbsp;public,&nbsp;only&nbsp;enabled&nbsp;for&nbsp;certain&nbsp;API&nbsp;keys)</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_Network">_Network</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Library">class <strong>Library</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;user's&nbsp;Last.fm&nbsp;library.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Library">Library</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Library-__init__"><strong>__init__</strong></a>(self, user, network)</dt></dl>
<dl><dt><a name="Library-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Library-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Library-add_album"><strong>add_album</strong></a>(self, album)</dt><dd><tt>Add&nbsp;an&nbsp;album&nbsp;to&nbsp;this&nbsp;library.</tt></dd></dl>
<dl><dt><a name="Library-add_artist"><strong>add_artist</strong></a>(self, artist)</dt><dd><tt>Add&nbsp;an&nbsp;artist&nbsp;to&nbsp;this&nbsp;library.</tt></dd></dl>
<dl><dt><a name="Library-add_track"><strong>add_track</strong></a>(self, track)</dt><dd><tt>Add&nbsp;a&nbsp;track&nbsp;to&nbsp;this&nbsp;library.</tt></dd></dl>
<dl><dt><a name="Library-get_albums"><strong>get_albums</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Album">Album</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all&nbsp;(may&nbsp;take&nbsp;a&nbsp;while)</tt></dd></dl>
<dl><dt><a name="Library-get_artists"><strong>get_artists</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Album">Album</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all&nbsp;(may&nbsp;take&nbsp;a&nbsp;while)</tt></dd></dl>
<dl><dt><a name="Library-get_tracks"><strong>get_tracks</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Album">Album</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all&nbsp;(may&nbsp;take&nbsp;a&nbsp;while)</tt></dd></dl>
<dl><dt><a name="Library-get_user"><strong>get_user</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user&nbsp;who&nbsp;owns&nbsp;this&nbsp;library.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>user</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Library-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="LibraryItem">class <strong>LibraryItem</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#LibraryItem">LibraryItem</a>(item,&nbsp;playcount,&nbsp;tagcount)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#LibraryItem">LibraryItem</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LibraryItem-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="LibraryItem-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="LibraryItem-__new__"><strong>__new__</strong></a>(_cls, item, playcount, tagcount)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>item</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>playcount</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>tagcount</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="LibraryItem-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="LibraryItem-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="LibraryItem-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="LibraryItem-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="LibraryItem-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="LibraryItem-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="LibraryItem-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="LibraryItem-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="LibraryItem-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="LibraryItem-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="LibraryItem-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="LibraryItem-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="LibraryItem-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="LibraryItem-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="LibraryItem-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="LibraryItem-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#LibraryItem-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="LibraryItem-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#LibraryItem-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="LibraryItem-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#LibraryItem-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="LibraryItem-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#LibraryItem-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="LibreFMNetwork">class <strong>LibreFMNetwork</strong></a>(<a href="pylast.html#_Network">_Network</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;preconfigured&nbsp;_Network&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;for&nbsp;Libre.fm<br>
&nbsp;<br>
api_key:&nbsp;a&nbsp;provided&nbsp;API_KEY<br>
api_secret:&nbsp;a&nbsp;provided&nbsp;API_SECRET<br>
session_key:&nbsp;a&nbsp;generated&nbsp;session_key&nbsp;or&nbsp;None<br>
username:&nbsp;a&nbsp;username&nbsp;of&nbsp;a&nbsp;valid&nbsp;user<br>
password_hash:&nbsp;the&nbsp;output&nbsp;of&nbsp;pylast.<a href="#-md5">md5</a>(password)&nbsp;where&nbsp;password&nbsp;is&nbsp;the&nbsp;user's&nbsp;password<br>
&nbsp;<br>
if&nbsp;username&nbsp;and&nbsp;password_hash&nbsp;were&nbsp;provided&nbsp;and&nbsp;not&nbsp;session_key,&nbsp;session_key&nbsp;will&nbsp;be<br>
generated&nbsp;automatically&nbsp;when&nbsp;needed.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#LibreFMNetwork">LibreFMNetwork</a></dd>
<dd><a href="pylast.html#_Network">_Network</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LibreFMNetwork-__init__"><strong>__init__</strong></a>(self, api_key<font color="#909090">=''</font>, api_secret<font color="#909090">=''</font>, session_key<font color="#909090">=''</font>, username<font color="#909090">=''</font>, password_hash<font color="#909090">=''</font>)</dt></dl>
<dl><dt><a name="LibreFMNetwork-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="pylast.html#_Network">_Network</a>:<br>
<dl><dt><a name="LibreFMNetwork-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<dl><dt><a name="LibreFMNetwork-create_new_playlist"><strong>create_new_playlist</strong></a>(self, title, description)</dt><dd><tt>Creates&nbsp;a&nbsp;playlist&nbsp;for&nbsp;the&nbsp;authenticated&nbsp;user&nbsp;and&nbsp;returns&nbsp;it<br>
&nbsp;&nbsp;&nbsp;&nbsp;title:&nbsp;The&nbsp;title&nbsp;of&nbsp;the&nbsp;new&nbsp;playlist.<br>
&nbsp;&nbsp;&nbsp;&nbsp;description:&nbsp;The&nbsp;description&nbsp;of&nbsp;the&nbsp;new&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-disable_caching"><strong>disable_caching</strong></a>(self)</dt><dd><tt>Disables&nbsp;all&nbsp;caching&nbsp;features.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-disable_proxy"><strong>disable_proxy</strong></a>(self)</dt><dd><tt>Disable&nbsp;using&nbsp;the&nbsp;web&nbsp;proxy</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-enable_caching"><strong>enable_caching</strong></a>(self, file_path<font color="#909090">=None</font>)</dt><dd><tt>Enables&nbsp;caching&nbsp;request-wide&nbsp;for&nbsp;all&nbsp;cachable&nbsp;calls.<br>
In&nbsp;choosing&nbsp;the&nbsp;backend&nbsp;used&nbsp;for&nbsp;caching,&nbsp;it&nbsp;will&nbsp;try&nbsp;_SqliteCacheBackend&nbsp;first&nbsp;if<br>
the&nbsp;module&nbsp;sqlite3&nbsp;is&nbsp;present.&nbsp;If&nbsp;not,&nbsp;it&nbsp;will&nbsp;fallback&nbsp;to&nbsp;_ShelfCacheBackend&nbsp;which&nbsp;uses&nbsp;shelve.Shelf&nbsp;objects.<br>
&nbsp;<br>
*&nbsp;file_path:&nbsp;A&nbsp;file&nbsp;path&nbsp;for&nbsp;the&nbsp;backend&nbsp;storage&nbsp;file.&nbsp;If&nbsp;<br>
None&nbsp;set,&nbsp;a&nbsp;temp&nbsp;file&nbsp;would&nbsp;probably&nbsp;be&nbsp;created,&nbsp;according&nbsp;the&nbsp;backend.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-enable_proxy"><strong>enable_proxy</strong></a>(self, host, port)</dt><dd><tt>Enable&nbsp;a&nbsp;default&nbsp;web&nbsp;proxy</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_album"><strong>get_album</strong></a>(self, artist, title)</dt><dd><tt>Return&nbsp;an&nbsp;<a href="#Album">Album</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_album_by_mbid"><strong>get_album_by_mbid</strong></a>(self, mbid)</dt><dd><tt>Looks&nbsp;up&nbsp;an&nbsp;album&nbsp;by&nbsp;its&nbsp;MusicBrainz&nbsp;ID</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_artist"><strong>get_artist</strong></a>(self, artist_name)</dt><dd><tt>Return&nbsp;an&nbsp;<a href="#Artist">Artist</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_artist_by_mbid"><strong>get_artist_by_mbid</strong></a>(self, mbid)</dt><dd><tt>Loooks&nbsp;up&nbsp;an&nbsp;artist&nbsp;by&nbsp;its&nbsp;MusicBrainz&nbsp;ID</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_authenticated_user"><strong>get_authenticated_user</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;authenticated&nbsp;user</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_country"><strong>get_country</strong></a>(self, country_name)</dt><dd><tt>Returns&nbsp;a&nbsp;country&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_group"><strong>get_group</strong></a>(self, name)</dt><dd><tt>Returns&nbsp;a&nbsp;<a href="#Group">Group</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_scrobbler"><strong>get_scrobbler</strong></a>(self, client_id, client_version)</dt><dd><tt>Returns&nbsp;a&nbsp;<a href="#Scrobbler">Scrobbler</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;used&nbsp;for&nbsp;submitting&nbsp;tracks&nbsp;to&nbsp;the&nbsp;server<br>
&nbsp;<br>
Quote&nbsp;from&nbsp;<a href="http://www.last.fm/api/submissions">http://www.last.fm/api/submissions</a>:<br>
========<br>
Client&nbsp;identifiers&nbsp;are&nbsp;used&nbsp;to&nbsp;provide&nbsp;a&nbsp;centrally&nbsp;managed&nbsp;database&nbsp;of&nbsp;<br>
the&nbsp;client&nbsp;versions,&nbsp;allowing&nbsp;clients&nbsp;to&nbsp;be&nbsp;banned&nbsp;if&nbsp;they&nbsp;are&nbsp;found&nbsp;to&nbsp;<br>
be&nbsp;behaving&nbsp;undesirably.&nbsp;The&nbsp;client&nbsp;ID&nbsp;is&nbsp;associated&nbsp;with&nbsp;a&nbsp;version&nbsp;<br>
number&nbsp;on&nbsp;the&nbsp;server,&nbsp;however&nbsp;these&nbsp;are&nbsp;only&nbsp;incremented&nbsp;if&nbsp;a&nbsp;client&nbsp;is&nbsp;<br>
banned&nbsp;and&nbsp;do&nbsp;not&nbsp;have&nbsp;to&nbsp;reflect&nbsp;the&nbsp;version&nbsp;of&nbsp;the&nbsp;actual&nbsp;client&nbsp;application.<br>
&nbsp;<br>
During&nbsp;development,&nbsp;clients&nbsp;which&nbsp;have&nbsp;not&nbsp;been&nbsp;allocated&nbsp;an&nbsp;identifier&nbsp;should&nbsp;<br>
use&nbsp;the&nbsp;identifier&nbsp;tst,&nbsp;with&nbsp;a&nbsp;version&nbsp;number&nbsp;of&nbsp;1.0.&nbsp;Do&nbsp;not&nbsp;distribute&nbsp;code&nbsp;or<br>
client&nbsp;implementations&nbsp;which&nbsp;use&nbsp;this&nbsp;test&nbsp;identifier.&nbsp;Do&nbsp;not&nbsp;use&nbsp;the&nbsp;identifiers<br>
used&nbsp;by&nbsp;other&nbsp;clients.<br>
=========<br>
&nbsp;<br>
To&nbsp;obtain&nbsp;a&nbsp;new&nbsp;client&nbsp;identifier&nbsp;please&nbsp;contact:<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Last.fm:&nbsp;submissions@last.fm<br>
&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;#&nbsp;TODO:&nbsp;list&nbsp;others<br>
&nbsp;<br>
...and&nbsp;provide&nbsp;us&nbsp;with&nbsp;the&nbsp;name&nbsp;of&nbsp;your&nbsp;client&nbsp;and&nbsp;its&nbsp;homepage&nbsp;address.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_tag"><strong>get_tag</strong></a>(self, name)</dt><dd><tt>Returns&nbsp;a&nbsp;tag&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_top_tags"><strong>get_top_tags</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;the&nbsp;most&nbsp;used&nbsp;tags&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#TopItem">TopItem</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_track"><strong>get_track</strong></a>(self, artist, title)</dt><dd><tt>Return&nbsp;a&nbsp;<a href="#Track">Track</a>&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_track_by_mbid"><strong>get_track_by_mbid</strong></a>(self, mbid)</dt><dd><tt>Looks&nbsp;up&nbsp;a&nbsp;track&nbsp;by&nbsp;its&nbsp;MusicBrainz&nbsp;ID</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-get_user"><strong>get_user</strong></a>(self, username)</dt><dd><tt>Returns&nbsp;a&nbsp;user&nbsp;<a href="__builtin__.html#object">object</a></tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-is_caching_enabled"><strong>is_caching_enabled</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;caching&nbsp;is&nbsp;enabled.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-is_proxy_enabled"><strong>is_proxy_enabled</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;a&nbsp;web&nbsp;proxy&nbsp;is&nbsp;enabled.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-scrobble"><strong>scrobble</strong></a>(self, artist, title, timestamp, album<font color="#909090">=None</font>, album_artist<font color="#909090">=None</font>, track_number<font color="#909090">=None</font>, duration<font color="#909090">=None</font>, stream_id<font color="#909090">=None</font>, context<font color="#909090">=None</font>, mbid<font color="#909090">=None</font>)</dt><dd><tt>Used&nbsp;to&nbsp;add&nbsp;a&nbsp;track-play&nbsp;to&nbsp;a&nbsp;user's&nbsp;profile.<br>
&nbsp;<br>
Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;artist&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;artist&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;title&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;track&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;timestamp&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;time&nbsp;the&nbsp;track&nbsp;started&nbsp;playing,&nbsp;in&nbsp;UNIX&nbsp;timestamp&nbsp;format&nbsp;(integer&nbsp;number&nbsp;of&nbsp;seconds&nbsp;since&nbsp;00:00:00,&nbsp;January&nbsp;1st&nbsp;1970&nbsp;UTC).&nbsp;This&nbsp;must&nbsp;be&nbsp;in&nbsp;the&nbsp;UTC&nbsp;time&nbsp;zone.<br>
&nbsp;&nbsp;&nbsp;&nbsp;album&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;album_artist&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;artist&nbsp;-&nbsp;if&nbsp;this&nbsp;differs&nbsp;from&nbsp;the&nbsp;track&nbsp;artist.<br>
&nbsp;&nbsp;&nbsp;&nbsp;context&nbsp;(Optional)&nbsp;:&nbsp;Sub-client&nbsp;version&nbsp;(not&nbsp;public,&nbsp;only&nbsp;enabled&nbsp;for&nbsp;certain&nbsp;API&nbsp;keys)<br>
&nbsp;&nbsp;&nbsp;&nbsp;stream_id&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;stream&nbsp;id&nbsp;for&nbsp;this&nbsp;track&nbsp;received&nbsp;from&nbsp;the&nbsp;radio.getPlaylist&nbsp;service.<br>
&nbsp;&nbsp;&nbsp;&nbsp;track_number&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;track&nbsp;number&nbsp;of&nbsp;the&nbsp;track&nbsp;on&nbsp;the&nbsp;album.<br>
&nbsp;&nbsp;&nbsp;&nbsp;mbid&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;MusicBrainz&nbsp;<a href="#Track">Track</a>&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;duration&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;length&nbsp;of&nbsp;the&nbsp;track&nbsp;in&nbsp;seconds.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-scrobble_many"><strong>scrobble_many</strong></a>(self, tracks)</dt><dd><tt>Used&nbsp;to&nbsp;scrobble&nbsp;a&nbsp;batch&nbsp;of&nbsp;tracks&nbsp;at&nbsp;once.&nbsp;The&nbsp;parameter&nbsp;tracks&nbsp;is&nbsp;a&nbsp;sequence&nbsp;of&nbsp;dicts&nbsp;per<br>
track&nbsp;containing&nbsp;the&nbsp;keyword&nbsp;arguments&nbsp;as&nbsp;if&nbsp;passed&nbsp;to&nbsp;the&nbsp;<a href="#LibreFMNetwork-scrobble">scrobble</a>()&nbsp;method.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-search_for_album"><strong>search_for_album</strong></a>(self, album_name)</dt><dd><tt>Searches&nbsp;for&nbsp;an&nbsp;album&nbsp;by&nbsp;its&nbsp;name.&nbsp;Returns&nbsp;a&nbsp;<a href="#AlbumSearch">AlbumSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-search_for_artist"><strong>search_for_artist</strong></a>(self, artist_name)</dt><dd><tt>Searches&nbsp;of&nbsp;an&nbsp;artist&nbsp;by&nbsp;its&nbsp;name.&nbsp;Returns&nbsp;a&nbsp;<a href="#ArtistSearch">ArtistSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-search_for_tag"><strong>search_for_tag</strong></a>(self, tag_name)</dt><dd><tt>Searches&nbsp;of&nbsp;a&nbsp;tag&nbsp;by&nbsp;its&nbsp;name.&nbsp;Returns&nbsp;a&nbsp;<a href="#TagSearch">TagSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-search_for_track"><strong>search_for_track</strong></a>(self, artist_name, track_name)</dt><dd><tt>Searches&nbsp;of&nbsp;a&nbsp;track&nbsp;by&nbsp;its&nbsp;name&nbsp;and&nbsp;its&nbsp;artist.&nbsp;Set&nbsp;artist&nbsp;to&nbsp;an&nbsp;empty&nbsp;string&nbsp;if&nbsp;not&nbsp;available.<br>
Returns&nbsp;a&nbsp;<a href="#TrackSearch">TrackSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-search_for_venue"><strong>search_for_venue</strong></a>(self, venue_name, country_name)</dt><dd><tt>Searches&nbsp;of&nbsp;a&nbsp;venue&nbsp;by&nbsp;its&nbsp;name&nbsp;and&nbsp;its&nbsp;country.&nbsp;Set&nbsp;country_name&nbsp;to&nbsp;an&nbsp;empty&nbsp;string&nbsp;if&nbsp;not&nbsp;available.<br>
Returns&nbsp;a&nbsp;<a href="#VenueSearch">VenueSearch</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>
Use&nbsp;get_next_page()&nbsp;to&nbsp;retreive&nbsp;sequences&nbsp;of&nbsp;results.</tt></dd></dl>
<dl><dt><a name="LibreFMNetwork-update_now_playing"><strong>update_now_playing</strong></a>(self, artist, title, album<font color="#909090">=None</font>, album_artist<font color="#909090">=None</font>, duration<font color="#909090">=None</font>, track_number<font color="#909090">=None</font>, mbid<font color="#909090">=None</font>, context<font color="#909090">=None</font>)</dt><dd><tt>Used&nbsp;to&nbsp;notify&nbsp;Last.fm&nbsp;that&nbsp;a&nbsp;user&nbsp;has&nbsp;started&nbsp;listening&nbsp;to&nbsp;a&nbsp;track.&nbsp;<br>
&nbsp;<br>
Parameters:<br>
&nbsp;&nbsp;&nbsp;&nbsp;artist&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;artist&nbsp;name<br>
&nbsp;&nbsp;&nbsp;&nbsp;title&nbsp;(Required)&nbsp;:&nbsp;The&nbsp;track&nbsp;title<br>
&nbsp;&nbsp;&nbsp;&nbsp;album&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;name.<br>
&nbsp;&nbsp;&nbsp;&nbsp;album_artist&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;album&nbsp;artist&nbsp;-&nbsp;if&nbsp;this&nbsp;differs&nbsp;from&nbsp;the&nbsp;track&nbsp;artist.<br>
&nbsp;&nbsp;&nbsp;&nbsp;duration&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;length&nbsp;of&nbsp;the&nbsp;track&nbsp;in&nbsp;seconds.<br>
&nbsp;&nbsp;&nbsp;&nbsp;track_number&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;track&nbsp;number&nbsp;of&nbsp;the&nbsp;track&nbsp;on&nbsp;the&nbsp;album.<br>
&nbsp;&nbsp;&nbsp;&nbsp;mbid&nbsp;(Optional)&nbsp;:&nbsp;The&nbsp;MusicBrainz&nbsp;<a href="#Track">Track</a>&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;context&nbsp;(Optional)&nbsp;:&nbsp;Sub-client&nbsp;version&nbsp;(not&nbsp;public,&nbsp;only&nbsp;enabled&nbsp;for&nbsp;certain&nbsp;API&nbsp;keys)</tt></dd></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_Network">_Network</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="LovedTrack">class <strong>LovedTrack</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#LovedTrack">LovedTrack</a>(track,&nbsp;date,&nbsp;timestamp)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#LovedTrack">LovedTrack</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LovedTrack-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="LovedTrack-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="LovedTrack-__new__"><strong>__new__</strong></a>(_cls, track, date, timestamp)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>date</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>timestamp</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>track</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="LovedTrack-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="LovedTrack-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="LovedTrack-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="LovedTrack-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="LovedTrack-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="LovedTrack-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="LovedTrack-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="LovedTrack-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="LovedTrack-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="LovedTrack-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="LovedTrack-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="LovedTrack-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="LovedTrack-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="LovedTrack-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="LovedTrack-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="LovedTrack-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#LovedTrack-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="LovedTrack-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#LovedTrack-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="LovedTrack-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#LovedTrack-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="LovedTrack-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#LovedTrack-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="MalformedResponseError">class <strong>MalformedResponseError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="exceptions.html#Exception">Exception</a>&nbsp;conveying&nbsp;a&nbsp;malformed&nbsp;response&nbsp;from&nbsp;Last.fm.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#MalformedResponseError">MalformedResponseError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="MalformedResponseError-__init__"><strong>__init__</strong></a>(self, network, underlying_error)</dt></dl>
<dl><dt><a name="MalformedResponseError-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#MalformedResponseError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="MalformedResponseError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MalformedResponseError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="MalformedResponseError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#MalformedResponseError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="MalformedResponseError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#MalformedResponseError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="MalformedResponseError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#MalformedResponseError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="MalformedResponseError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="MalformedResponseError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#MalformedResponseError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="MalformedResponseError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MalformedResponseError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="MalformedResponseError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="MalformedResponseError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="NetworkError">class <strong>NetworkError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="exceptions.html#Exception">Exception</a>&nbsp;conveying&nbsp;a&nbsp;problem&nbsp;in&nbsp;sending&nbsp;a&nbsp;request&nbsp;to&nbsp;Last.fm<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#NetworkError">NetworkError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NetworkError-__init__"><strong>__init__</strong></a>(self, network, underlying_error)</dt></dl>
<dl><dt><a name="NetworkError-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#NetworkError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="NetworkError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NetworkError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="NetworkError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#NetworkError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="NetworkError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#NetworkError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="NetworkError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#NetworkError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="NetworkError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="NetworkError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#NetworkError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="NetworkError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NetworkError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="NetworkError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="NetworkError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="PlayedTrack">class <strong>PlayedTrack</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#PlayedTrack">PlayedTrack</a>(track,&nbsp;playback_date,&nbsp;timestamp)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#PlayedTrack">PlayedTrack</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="PlayedTrack-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="PlayedTrack-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="PlayedTrack-__new__"><strong>__new__</strong></a>(_cls, track, playback_date, timestamp)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>playback_date</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>timestamp</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>track</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="PlayedTrack-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#PlayedTrack-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="PlayedTrack-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#PlayedTrack-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="PlayedTrack-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#PlayedTrack-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="PlayedTrack-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#PlayedTrack-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Playlist">class <strong>Playlist</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;Last.fm&nbsp;user&nbsp;playlist.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Playlist">Playlist</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Playlist-__init__"><strong>__init__</strong></a>(self, user, id, network)</dt></dl>
<dl><dt><a name="Playlist-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Playlist-add_track"><strong>add_track</strong></a>(self, track)</dt><dd><tt>Adds&nbsp;a&nbsp;<a href="#Track">Track</a>&nbsp;to&nbsp;this&nbsp;<a href="#Playlist">Playlist</a>.</tt></dd></dl>
<dl><dt><a name="Playlist-get_cover_image"><strong>get_cover_image</strong></a>(self, size<font color="#909090">=3</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;uri&nbsp;to&nbsp;the&nbsp;cover&nbsp;image<br>
size&nbsp;can&nbsp;be&nbsp;one&nbsp;of:<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_MEGA<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_EXTRA_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_LARGE<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_MEDIUM<br>
&nbsp;&nbsp;&nbsp;&nbsp;COVER_SMALL</tt></dd></dl>
<dl><dt><a name="Playlist-get_creation_date"><strong>get_creation_date</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;creation&nbsp;date&nbsp;of&nbsp;this&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="Playlist-get_description"><strong>get_description</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;description&nbsp;of&nbsp;this&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="Playlist-get_duration"><strong>get_duration</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;duration&nbsp;of&nbsp;this&nbsp;playlist&nbsp;in&nbsp;milliseconds.</tt></dd></dl>
<dl><dt><a name="Playlist-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;playlist&nbsp;id.</tt></dd></dl>
<dl><dt><a name="Playlist-get_size"><strong>get_size</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;number&nbsp;of&nbsp;tracks&nbsp;in&nbsp;this&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="Playlist-get_title"><strong>get_title</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;title&nbsp;of&nbsp;this&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="Playlist-get_tracks"><strong>get_tracks</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;tracks&nbsp;on&nbsp;this&nbsp;user&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="Playlist-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;playlist&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="Playlist-get_user"><strong>get_user</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;owner&nbsp;user&nbsp;of&nbsp;this&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="Playlist-has_track"><strong>has_track</strong></a>(self, track)</dt><dd><tt>Checks&nbsp;to&nbsp;see&nbsp;if&nbsp;track&nbsp;is&nbsp;already&nbsp;in&nbsp;the&nbsp;playlist.<br>
*&nbsp;track:&nbsp;Any&nbsp;<a href="#Track">Track</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Playlist-is_streamable"><strong>is_streamable</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;the&nbsp;playlist&nbsp;is&nbsp;streamable.<br>
For&nbsp;a&nbsp;playlist&nbsp;to&nbsp;be&nbsp;streamable,&nbsp;it&nbsp;needs&nbsp;at&nbsp;least&nbsp;45&nbsp;tracks&nbsp;by&nbsp;15&nbsp;different&nbsp;artists.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>id</strong> = None</dl>
<dl><dt><strong>user</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Playlist-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Scrobbler">class <strong>Scrobbler</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;class&nbsp;for&nbsp;scrobbling&nbsp;tracks&nbsp;to&nbsp;Last.fm<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Scrobbler-__init__"><strong>__init__</strong></a>(self, network, client_id, client_version)</dt></dl>
<dl><dt><a name="Scrobbler-report_now_playing"><strong>report_now_playing</strong></a>(self, artist, title, album<font color="#909090">=''</font>, duration<font color="#909090">=''</font>, track_number<font color="#909090">=''</font>, mbid<font color="#909090">=''</font>)</dt></dl>
<dl><dt><a name="Scrobbler-scrobble"><strong>scrobble</strong></a>(self, artist, title, time_started, source, mode, duration, album<font color="#909090">=''</font>, track_number<font color="#909090">=''</font>, mbid<font color="#909090">=''</font>)</dt><dd><tt>Scrobble&nbsp;a&nbsp;track.&nbsp;parameters:<br>
artist:&nbsp;<a href="#Artist">Artist</a>&nbsp;name.<br>
title:&nbsp;<a href="#Track">Track</a>&nbsp;title.<br>
time_started:&nbsp;UTC&nbsp;timestamp&nbsp;of&nbsp;when&nbsp;the&nbsp;track&nbsp;started&nbsp;playing.<br>
source:&nbsp;The&nbsp;source&nbsp;of&nbsp;the&nbsp;track<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_SOURCE_USER:&nbsp;Chosen&nbsp;by&nbsp;the&nbsp;user&nbsp;(the&nbsp;most&nbsp;common&nbsp;value,&nbsp;unless&nbsp;you&nbsp;have&nbsp;a&nbsp;reason&nbsp;for&nbsp;choosing&nbsp;otherwise,&nbsp;use&nbsp;this).<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_SOURCE_NON_PERSONALIZED_BROADCAST:&nbsp;Non-personalised&nbsp;broadcast&nbsp;(e.g.&nbsp;Shoutcast,&nbsp;BBC&nbsp;Radio&nbsp;1).<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_SOURCE_PERSONALIZED_BROADCAST:&nbsp;Personalised&nbsp;recommendation&nbsp;except&nbsp;Last.fm&nbsp;(e.g.&nbsp;Pandora,&nbsp;Launchcast).<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_SOURCE_LASTFM:&nbsp;ast.fm&nbsp;(any&nbsp;mode).&nbsp;In&nbsp;this&nbsp;case,&nbsp;the&nbsp;5-digit&nbsp;recommendation_key&nbsp;value&nbsp;must&nbsp;be&nbsp;set.<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_SOURCE_UNKNOWN:&nbsp;Source&nbsp;unknown.<br>
mode:&nbsp;The&nbsp;submission&nbsp;mode<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_MODE_PLAYED:&nbsp;The&nbsp;track&nbsp;was&nbsp;played.<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_MODE_LOVED:&nbsp;The&nbsp;user&nbsp;manually&nbsp;loved&nbsp;the&nbsp;track&nbsp;(implies&nbsp;a&nbsp;listen)<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_MODE_SKIPPED:&nbsp;The&nbsp;track&nbsp;was&nbsp;skipped&nbsp;(Only&nbsp;if&nbsp;source&nbsp;was&nbsp;Last.fm)<br>
&nbsp;&nbsp;&nbsp;&nbsp;SCROBBLE_MODE_BANNED:&nbsp;The&nbsp;track&nbsp;was&nbsp;banned&nbsp;(Only&nbsp;if&nbsp;source&nbsp;was&nbsp;Last.fm)<br>
duration:&nbsp;<a href="#Track">Track</a>&nbsp;duration&nbsp;in&nbsp;seconds.<br>
album:&nbsp;The&nbsp;album&nbsp;name.<br>
track_number:&nbsp;The&nbsp;track&nbsp;number&nbsp;on&nbsp;the&nbsp;album.<br>
mbid:&nbsp;MusicBrainz&nbsp;ID.</tt></dd></dl>
<dl><dt><a name="Scrobbler-scrobble_many"><strong>scrobble_many</strong></a>(self, tracks)</dt><dd><tt>Scrobble&nbsp;several&nbsp;tracks&nbsp;at&nbsp;once.<br>
&nbsp;<br>
tracks:&nbsp;A&nbsp;sequence&nbsp;of&nbsp;a&nbsp;sequence&nbsp;of&nbsp;parameters&nbsp;for&nbsp;each&nbsp;trach.&nbsp;The&nbsp;order&nbsp;of&nbsp;parameters<br>
&nbsp;&nbsp;&nbsp;&nbsp;is&nbsp;the&nbsp;same&nbsp;as&nbsp;if&nbsp;passed&nbsp;to&nbsp;the&nbsp;<a href="#Scrobbler-scrobble">scrobble</a>()&nbsp;method.</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>nowplaying_url</strong> = None</dl>
<dl><dt><strong>session_id</strong> = None</dl>
<dl><dt><strong>submissions_url</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ScrobblingError">class <strong>ScrobblingError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#ScrobblingError">ScrobblingError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ScrobblingError-__init__"><strong>__init__</strong></a>(self, message)</dt></dl>
<dl><dt><a name="ScrobblingError-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#ScrobblingError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="ScrobblingError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ScrobblingError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="ScrobblingError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ScrobblingError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="ScrobblingError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ScrobblingError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="ScrobblingError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#ScrobblingError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="ScrobblingError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="ScrobblingError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ScrobblingError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="ScrobblingError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ScrobblingError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="ScrobblingError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="ScrobblingError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="SessionKeyGenerator">class <strong>SessionKeyGenerator</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Methods&nbsp;of&nbsp;generating&nbsp;a&nbsp;session&nbsp;key:<br>
1)&nbsp;Web&nbsp;Authentication:<br>
&nbsp;&nbsp;&nbsp;&nbsp;a.&nbsp;network&nbsp;=&nbsp;get_*_network(API_KEY,&nbsp;API_SECRET)<br>
&nbsp;&nbsp;&nbsp;&nbsp;b.&nbsp;sg&nbsp;=&nbsp;<a href="#SessionKeyGenerator">SessionKeyGenerator</a>(network)<br>
&nbsp;&nbsp;&nbsp;&nbsp;c.&nbsp;url&nbsp;=&nbsp;sg.<a href="#SessionKeyGenerator-get_web_auth_url">get_web_auth_url</a>()<br>
&nbsp;&nbsp;&nbsp;&nbsp;d.&nbsp;Ask&nbsp;the&nbsp;user&nbsp;to&nbsp;open&nbsp;the&nbsp;url&nbsp;and&nbsp;authorize&nbsp;you,&nbsp;and&nbsp;wait&nbsp;for&nbsp;it.<br>
&nbsp;&nbsp;&nbsp;&nbsp;e.&nbsp;session_key&nbsp;=&nbsp;sg.<a href="#SessionKeyGenerator-get_web_auth_session_key">get_web_auth_session_key</a>(url)<br>
2)&nbsp;Username&nbsp;and&nbsp;Password&nbsp;Authentication:<br>
&nbsp;&nbsp;&nbsp;&nbsp;a.&nbsp;network&nbsp;=&nbsp;get_*_network(API_KEY,&nbsp;API_SECRET)<br>
&nbsp;&nbsp;&nbsp;&nbsp;b.&nbsp;username&nbsp;=&nbsp;raw_input("Please&nbsp;enter&nbsp;your&nbsp;username:&nbsp;")<br>
&nbsp;&nbsp;&nbsp;&nbsp;c.&nbsp;password_hash&nbsp;=&nbsp;pylast.<a href="#-md5">md5</a>(raw_input("Please&nbsp;enter&nbsp;your&nbsp;password:&nbsp;")<br>
&nbsp;&nbsp;&nbsp;&nbsp;d.&nbsp;session_key&nbsp;=&nbsp;<a href="#SessionKeyGenerator">SessionKeyGenerator</a>(network).<a href="#SessionKeyGenerator-get_session_key">get_session_key</a>(username,&nbsp;password_hash)<br>
&nbsp;<br>
A&nbsp;session&nbsp;key's&nbsp;lifetime&nbsp;is&nbsp;infinie,&nbsp;unless&nbsp;the&nbsp;user&nbsp;provokes&nbsp;the&nbsp;rights&nbsp;of&nbsp;the&nbsp;given&nbsp;API&nbsp;Key.<br>
&nbsp;<br>
If&nbsp;you&nbsp;create&nbsp;a&nbsp;Network&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;just&nbsp;a&nbsp;API_KEY&nbsp;and&nbsp;API_SECRET&nbsp;and&nbsp;a&nbsp;username&nbsp;and&nbsp;a&nbsp;password_hash,&nbsp;a<br>
SESSION_KEY&nbsp;will&nbsp;be&nbsp;automatically&nbsp;generated&nbsp;for&nbsp;that&nbsp;network&nbsp;and&nbsp;stored&nbsp;in&nbsp;it&nbsp;so&nbsp;you&nbsp;don't&nbsp;have&nbsp;to&nbsp;do&nbsp;this<br>
manually,&nbsp;unless&nbsp;you&nbsp;want&nbsp;to.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="SessionKeyGenerator-__init__"><strong>__init__</strong></a>(self, network)</dt></dl>
<dl><dt><a name="SessionKeyGenerator-get_session_key"><strong>get_session_key</strong></a>(self, username, password_hash)</dt><dd><tt>Retrieve&nbsp;a&nbsp;session&nbsp;key&nbsp;with&nbsp;a&nbsp;username&nbsp;and&nbsp;a&nbsp;md5&nbsp;hash&nbsp;of&nbsp;the&nbsp;user's&nbsp;password.</tt></dd></dl>
<dl><dt><a name="SessionKeyGenerator-get_web_auth_session_key"><strong>get_web_auth_session_key</strong></a>(self, url)</dt><dd><tt>Retrieves&nbsp;the&nbsp;session&nbsp;key&nbsp;of&nbsp;a&nbsp;web&nbsp;authorization&nbsp;process&nbsp;by&nbsp;its&nbsp;url.</tt></dd></dl>
<dl><dt><a name="SessionKeyGenerator-get_web_auth_url"><strong>get_web_auth_url</strong></a>(self)</dt><dd><tt>The&nbsp;user&nbsp;must&nbsp;open&nbsp;this&nbsp;page,&nbsp;and&nbsp;you&nbsp;first,&nbsp;then&nbsp;call&nbsp;<a href="#SessionKeyGenerator-get_web_auth_session_key">get_web_auth_session_key</a>(url)&nbsp;after&nbsp;that.</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Shout">class <strong>Shout</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#Shout">Shout</a>(body,&nbsp;author,&nbsp;date)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Shout">Shout</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Shout-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="Shout-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="Shout-__new__"><strong>__new__</strong></a>(_cls, body, author, date)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>author</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>body</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>date</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="Shout-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="Shout-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="Shout-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="Shout-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="Shout-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="Shout-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="Shout-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="Shout-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="Shout-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="Shout-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="Shout-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="Shout-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="Shout-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="Shout-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="Shout-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="Shout-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#Shout-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="Shout-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#Shout-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="Shout-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#Shout-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="Shout-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#Shout-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="SimilarItem">class <strong>SimilarItem</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#SimilarItem">SimilarItem</a>(item,&nbsp;match)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#SimilarItem">SimilarItem</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="SimilarItem-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="SimilarItem-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="SimilarItem-__new__"><strong>__new__</strong></a>(_cls, item, match)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>item</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>match</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="SimilarItem-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="SimilarItem-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="SimilarItem-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="SimilarItem-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="SimilarItem-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="SimilarItem-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="SimilarItem-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="SimilarItem-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="SimilarItem-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="SimilarItem-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="SimilarItem-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="SimilarItem-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="SimilarItem-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="SimilarItem-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="SimilarItem-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="SimilarItem-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#SimilarItem-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="SimilarItem-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#SimilarItem-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="SimilarItem-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#SimilarItem-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="SimilarItem-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#SimilarItem-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Tag">class <strong>Tag</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;Last.fm&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;tag.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Tag">Tag</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Tag-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Tag-__init__"><strong>__init__</strong></a>(self, name, network)</dt></dl>
<dl><dt><a name="Tag-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Tag-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Tag-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Tag-get_name"><strong>get_name</strong></a>(self, properly_capitalized<font color="#909090">=False</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;tag.</tt></dd></dl>
<dl><dt><a name="Tag-get_similar"><strong>get_similar</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;tags&nbsp;similar&nbsp;to&nbsp;this&nbsp;one,&nbsp;ordered&nbsp;by&nbsp;similarity.</tt></dd></dl>
<dl><dt><a name="Tag-get_top_albums"><strong>get_top_albums</strong></a>(self)</dt><dd><tt>Retuns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;top&nbsp;albums.</tt></dd></dl>
<dl><dt><a name="Tag-get_top_artists"><strong>get_top_artists</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;the&nbsp;most&nbsp;played&nbsp;artists.</tt></dd></dl>
<dl><dt><a name="Tag-get_top_tracks"><strong>get_top_tracks</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;most&nbsp;played&nbsp;Tracks&nbsp;by&nbsp;this&nbsp;artist.</tt></dd></dl>
<dl><dt><a name="Tag-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;tag&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="Tag-get_weekly_artist_charts"><strong>get_weekly_artist_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;artist&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="Tag-get_weekly_chart_dates"><strong>get_weekly_chart_dates</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;From&nbsp;and&nbsp;To&nbsp;tuples&nbsp;for&nbsp;the&nbsp;available&nbsp;charts.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>name</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Tag-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TagSearch">class <strong>TagSearch</strong></a>(<a href="pylast.html#_Search">_Search</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Search&nbsp;for&nbsp;a&nbsp;tag&nbsp;by&nbsp;tag&nbsp;name.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#TagSearch">TagSearch</a></dd>
<dd><a href="pylast.html#_Search">_Search</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TagSearch-__init__"><strong>__init__</strong></a>(self, tag_name, network)</dt></dl>
<dl><dt><a name="TagSearch-get_next_page"><strong>get_next_page</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;next&nbsp;page&nbsp;of&nbsp;results&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_Search">_Search</a>:<br>
<dl><dt><a name="TagSearch-get_total_result_count"><strong>get_total_result_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;total&nbsp;count&nbsp;of&nbsp;all&nbsp;the&nbsp;results.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="TagSearch-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TopItem">class <strong>TopItem</strong></a>(<a href="__builtin__.html#tuple">__builtin__.tuple</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#TopItem">TopItem</a>(item,&nbsp;weight)<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#TopItem">TopItem</a></dd>
<dd><a href="__builtin__.html#tuple">__builtin__.tuple</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TopItem-__getnewargs__"><strong>__getnewargs__</strong></a>(self)</dt></dl>
<dl><dt><a name="TopItem-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<hr>
Static methods defined here:<br>
<dl><dt><a name="TopItem-__new__"><strong>__new__</strong></a>(_cls, item, weight)</dt></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>item</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<dl><dt><strong>weight</strong></dt>
<dd><tt>itemgetter(item,&nbsp;...)&nbsp;--&gt;&nbsp;itemgetter&nbsp;object<br>
&nbsp;<br>
Return&nbsp;a&nbsp;callable&nbsp;object&nbsp;that&nbsp;fetches&nbsp;the&nbsp;given&nbsp;item(s)&nbsp;from&nbsp;its&nbsp;operand.<br>
After,&nbsp;f=itemgetter(2),&nbsp;the&nbsp;call&nbsp;f(r)&nbsp;returns&nbsp;r[2].<br>
After,&nbsp;g=itemgetter(2,5,3),&nbsp;the&nbsp;call&nbsp;g(r)&nbsp;returns&nbsp;(r[2],&nbsp;r[5],&nbsp;r[3])</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#tuple">__builtin__.tuple</a>:<br>
<dl><dt><a name="TopItem-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__add__">__add__</a>(y)&nbsp;&lt;==&gt;&nbsp;x+y</tt></dd></dl>
<dl><dt><a name="TopItem-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__contains__">__contains__</a>(y)&nbsp;&lt;==&gt;&nbsp;y&nbsp;in&nbsp;x</tt></dd></dl>
<dl><dt><a name="TopItem-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__eq__">__eq__</a>(y)&nbsp;&lt;==&gt;&nbsp;x==y</tt></dd></dl>
<dl><dt><a name="TopItem-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>
<dl><dt><a name="TopItem-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="TopItem-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="TopItem-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="TopItem-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__gt__">__gt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;y</tt></dd></dl>
<dl><dt><a name="TopItem-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>
<dl><dt><a name="TopItem-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>
<dl><dt><a name="TopItem-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>
<dl><dt><a name="TopItem-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>
<dl><dt><a name="TopItem-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__lt__">__lt__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;y</tt></dd></dl>
<dl><dt><a name="TopItem-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__mul__">__mul__</a>(n)&nbsp;&lt;==&gt;&nbsp;x*n</tt></dd></dl>
<dl><dt><a name="TopItem-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>
<dl><dt><a name="TopItem-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#TopItem-__rmul__">__rmul__</a>(n)&nbsp;&lt;==&gt;&nbsp;n*x</tt></dd></dl>
<dl><dt><a name="TopItem-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>T.<a href="#TopItem-__sizeof__">__sizeof__</a>()&nbsp;--&nbsp;size&nbsp;of&nbsp;T&nbsp;in&nbsp;memory,&nbsp;in&nbsp;bytes</tt></dd></dl>
<dl><dt><a name="TopItem-count"><strong>count</strong></a>(...)</dt><dd><tt>T.<a href="#TopItem-count">count</a>(value)&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;number&nbsp;of&nbsp;occurrences&nbsp;of&nbsp;value</tt></dd></dl>
<dl><dt><a name="TopItem-index"><strong>index</strong></a>(...)</dt><dd><tt>T.<a href="#TopItem-index">index</a>(value,&nbsp;[start,&nbsp;[stop]])&nbsp;-&gt;&nbsp;integer&nbsp;--&nbsp;return&nbsp;first&nbsp;index&nbsp;of&nbsp;value.<br>
Raises&nbsp;ValueError&nbsp;if&nbsp;the&nbsp;value&nbsp;is&nbsp;not&nbsp;present.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Track">class <strong>Track</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>, <a href="pylast.html#_Taggable">_Taggable</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;Last.fm&nbsp;track.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Track">Track</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="pylast.html#_Taggable">_Taggable</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Track-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Track-__init__"><strong>__init__</strong></a>(self, artist, title, network)</dt></dl>
<dl><dt><a name="Track-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Track-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Track-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Track-ban"><strong>ban</strong></a>(self)</dt><dd><tt>Ban&nbsp;this&nbsp;track&nbsp;from&nbsp;ever&nbsp;playing&nbsp;on&nbsp;the&nbsp;radio.</tt></dd></dl>
<dl><dt><a name="Track-get_album"><strong>get_album</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;album&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;of&nbsp;this&nbsp;track.</tt></dd></dl>
<dl><dt><a name="Track-get_artist"><strong>get_artist</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;associated&nbsp;<a href="#Artist">Artist</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Track-get_duration"><strong>get_duration</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;track&nbsp;duration.</tt></dd></dl>
<dl><dt><a name="Track-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;track&nbsp;id&nbsp;on&nbsp;the&nbsp;network.</tt></dd></dl>
<dl><dt><a name="Track-get_listener_count"><strong>get_listener_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;listener&nbsp;count.</tt></dd></dl>
<dl><dt><a name="Track-get_mbid"><strong>get_mbid</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;MusicBrainz&nbsp;ID&nbsp;of&nbsp;this&nbsp;track.</tt></dd></dl>
<dl><dt><a name="Track-get_name"><strong>get_name</strong></a>(self, properly_capitalized<font color="#909090">=False</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;track&nbsp;title&nbsp;(alias&nbsp;to&nbsp;<a href="#Track">Track</a>.get_title).</tt></dd></dl>
<dl><dt><a name="Track-get_playcount"><strong>get_playcount</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;play&nbsp;count.</tt></dd></dl>
<dl><dt><a name="Track-get_shouts"><strong>get_shouts</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequqence&nbsp;of&nbsp;<a href="#Shout">Shout</a>&nbsp;objects</tt></dd></dl>
<dl><dt><a name="Track-get_similar"><strong>get_similar</strong></a>(self)</dt><dd><tt>Returns&nbsp;similar&nbsp;tracks&nbsp;for&nbsp;this&nbsp;track&nbsp;on&nbsp;the&nbsp;network,&nbsp;based&nbsp;on&nbsp;listening&nbsp;data.</tt></dd></dl>
<dl><dt><a name="Track-get_title"><strong>get_title</strong></a>(self, properly_capitalized<font color="#909090">=False</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;track&nbsp;title.</tt></dd></dl>
<dl><dt><a name="Track-get_top_fans"><strong>get_top_fans</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;Users&nbsp;who&nbsp;played&nbsp;this&nbsp;track.</tt></dd></dl>
<dl><dt><a name="Track-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;track&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="Track-get_wiki_content"><strong>get_wiki_content</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;content&nbsp;of&nbsp;the&nbsp;wiki.</tt></dd></dl>
<dl><dt><a name="Track-get_wiki_published_date"><strong>get_wiki_published_date</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;date&nbsp;of&nbsp;publishing&nbsp;this&nbsp;version&nbsp;of&nbsp;the&nbsp;wiki.</tt></dd></dl>
<dl><dt><a name="Track-get_wiki_summary"><strong>get_wiki_summary</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;summary&nbsp;of&nbsp;the&nbsp;wiki.</tt></dd></dl>
<dl><dt><a name="Track-is_fulltrack_available"><strong>is_fulltrack_available</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;the&nbsp;fulltrack&nbsp;is&nbsp;available&nbsp;for&nbsp;streaming.</tt></dd></dl>
<dl><dt><a name="Track-is_streamable"><strong>is_streamable</strong></a>(self)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;the&nbsp;track&nbsp;is&nbsp;available&nbsp;at&nbsp;Last.fm.</tt></dd></dl>
<dl><dt><a name="Track-love"><strong>love</strong></a>(self)</dt><dd><tt>Adds&nbsp;the&nbsp;track&nbsp;to&nbsp;the&nbsp;user's&nbsp;loved&nbsp;tracks.</tt></dd></dl>
<dl><dt><a name="Track-share"><strong>share</strong></a>(self, users, message<font color="#909090">=None</font>)</dt><dd><tt>Shares&nbsp;this&nbsp;track&nbsp;(sends&nbsp;out&nbsp;recommendations).&nbsp;<br>
*&nbsp;users:&nbsp;A&nbsp;list&nbsp;that&nbsp;can&nbsp;contain&nbsp;usernames,&nbsp;emails,&nbsp;<a href="#User">User</a>&nbsp;objects,&nbsp;or&nbsp;all&nbsp;of&nbsp;them.<br>
*&nbsp;message:&nbsp;A&nbsp;message&nbsp;to&nbsp;include&nbsp;in&nbsp;the&nbsp;recommendation&nbsp;message.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>artist</strong> = None</dl>
<dl><dt><strong>title</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Track-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_Taggable">_Taggable</a>:<br>
<dl><dt><a name="Track-add_tag"><strong>add_tag</strong></a>(self, tag)</dt><dd><tt>Adds&nbsp;one&nbsp;tag.<br>
*&nbsp;tag:&nbsp;a&nbsp;tag&nbsp;name&nbsp;or&nbsp;a&nbsp;<a href="#Tag">Tag</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Track-add_tags"><strong>add_tags</strong></a>(self, tags)</dt><dd><tt>Adds&nbsp;one&nbsp;or&nbsp;several&nbsp;tags.<br>
*&nbsp;tags:&nbsp;A&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="Track-clear_tags"><strong>clear_tags</strong></a>(self)</dt><dd><tt>Clears&nbsp;all&nbsp;the&nbsp;user-set&nbsp;tags.</tt></dd></dl>
<dl><dt><a name="Track-get_tags"><strong>get_tags</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;tags&nbsp;set&nbsp;by&nbsp;the&nbsp;user&nbsp;to&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Track-get_top_tags"><strong>get_top_tags</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;most&nbsp;frequently&nbsp;used&nbsp;Tags&nbsp;on&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Track-remove_tag"><strong>remove_tag</strong></a>(self, tag)</dt><dd><tt>Remove&nbsp;a&nbsp;user's&nbsp;tag&nbsp;from&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="Track-remove_tags"><strong>remove_tags</strong></a>(self, tags)</dt><dd><tt>Removes&nbsp;one&nbsp;or&nbsp;several&nbsp;tags&nbsp;from&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.<br>
*&nbsp;tags:&nbsp;a&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="Track-set_tags"><strong>set_tags</strong></a>(self, tags)</dt><dd><tt>Sets&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>'s&nbsp;tags&nbsp;to&nbsp;only&nbsp;those&nbsp;tags.<br>
*&nbsp;tags:&nbsp;a&nbsp;sequence&nbsp;of&nbsp;tag&nbsp;names&nbsp;or&nbsp;<a href="#Tag">Tag</a>&nbsp;objects.</tt></dd></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TrackSearch">class <strong>TrackSearch</strong></a>(<a href="pylast.html#_Search">_Search</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Search&nbsp;for&nbsp;a&nbsp;track&nbsp;by&nbsp;track&nbsp;title.&nbsp;If&nbsp;you&nbsp;don't&nbsp;wanna&nbsp;narrow&nbsp;the&nbsp;results&nbsp;down<br>
by&nbsp;specifying&nbsp;the&nbsp;artist&nbsp;name,&nbsp;set&nbsp;it&nbsp;to&nbsp;empty&nbsp;string.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#TrackSearch">TrackSearch</a></dd>
<dd><a href="pylast.html#_Search">_Search</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TrackSearch-__init__"><strong>__init__</strong></a>(self, artist_name, track_title, network)</dt></dl>
<dl><dt><a name="TrackSearch-get_next_page"><strong>get_next_page</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;next&nbsp;page&nbsp;of&nbsp;results&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Track">Track</a>&nbsp;objects.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_Search">_Search</a>:<br>
<dl><dt><a name="TrackSearch-get_total_result_count"><strong>get_total_result_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;total&nbsp;count&nbsp;of&nbsp;all&nbsp;the&nbsp;results.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="TrackSearch-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="User">class <strong>User</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;Last.fm&nbsp;user.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#User">User</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="User-__eq__"><strong>__eq__</strong></a>(self, another)</dt></dl>
<dl><dt><a name="User-__init__"><strong>__init__</strong></a>(self, user_name, network)</dt></dl>
<dl><dt><a name="User-__ne__"><strong>__ne__</strong></a>(self, another)</dt></dl>
<dl><dt><a name="User-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="User-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="User-compare_with_user"><strong>compare_with_user</strong></a>(self, user, shared_artists_limit<font color="#909090">=None</font>)</dt><dd><tt>Compare&nbsp;this&nbsp;user&nbsp;with&nbsp;another&nbsp;Last.fm&nbsp;user.<br>
Returns&nbsp;a&nbsp;sequence&nbsp;(tasteometer_score,&nbsp;(shared_artist1,&nbsp;shared_artist2,&nbsp;...))<br>
user:&nbsp;A&nbsp;<a href="#User">User</a>&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;or&nbsp;a&nbsp;username&nbsp;string/unicode&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="User-get_age"><strong>get_age</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;age.</tt></dd></dl>
<dl><dt><a name="User-get_country"><strong>get_country</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;country&nbsp;of&nbsp;the&nbsp;user.</tt></dd></dl>
<dl><dt><a name="User-get_friends"><strong>get_friends</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;user's&nbsp;friends.</tt></dd></dl>
<dl><dt><a name="User-get_gender"><strong>get_gender</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;gender.&nbsp;Either&nbsp;USER_MALE&nbsp;or&nbsp;USER_FEMALE.</tt></dd></dl>
<dl><dt><a name="User-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user&nbsp;id.</tt></dd></dl>
<dl><dt><a name="User-get_image"><strong>get_image</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;avatar.</tt></dd></dl>
<dl><dt><a name="User-get_language"><strong>get_language</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;language&nbsp;code&nbsp;of&nbsp;the&nbsp;language&nbsp;used&nbsp;by&nbsp;the&nbsp;user.</tt></dd></dl>
<dl><dt><a name="User-get_library"><strong>get_library</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;associated&nbsp;<a href="#Library">Library</a>&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>
<dl><dt><a name="User-get_loved_tracks"><strong>get_loved_tracks</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;this&nbsp;user's&nbsp;loved&nbsp;track&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#LovedTrack">LovedTrack</a>&nbsp;objects<br>
in&nbsp;reverse&nbsp;order&nbsp;of&nbsp;their&nbsp;timestamp,&nbsp;all&nbsp;the&nbsp;way&nbsp;back&nbsp;to&nbsp;the&nbsp;first&nbsp;track.<br>
&nbsp;<br>
If&nbsp;limit==None,&nbsp;it&nbsp;will&nbsp;try&nbsp;to&nbsp;pull&nbsp;all&nbsp;the&nbsp;available&nbsp;data.<br>
&nbsp;<br>
This&nbsp;method&nbsp;uses&nbsp;caching.&nbsp;Enable&nbsp;caching&nbsp;only&nbsp;if&nbsp;you're&nbsp;pulling&nbsp;a<br>
large&nbsp;amount&nbsp;of&nbsp;data.<br>
&nbsp;<br>
Use&nbsp;<a href="#-extract_items">extract_items</a>()&nbsp;with&nbsp;the&nbsp;return&nbsp;of&nbsp;this&nbsp;function&nbsp;to<br>
get&nbsp;only&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Track">Track</a>&nbsp;objects&nbsp;with&nbsp;no&nbsp;playback&nbsp;dates.</tt></dd></dl>
<dl><dt><a name="User-get_name"><strong>get_name</strong></a>(self, properly_capitalized<font color="#909090">=False</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;nuser&nbsp;name.</tt></dd></dl>
<dl><dt><a name="User-get_neighbours"><strong>get_neighbours</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;the&nbsp;user's&nbsp;friends.</tt></dd></dl>
<dl><dt><a name="User-get_now_playing"><strong>get_now_playing</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;currently&nbsp;playing&nbsp;track,&nbsp;or&nbsp;None&nbsp;if&nbsp;nothing&nbsp;is&nbsp;playing.</tt></dd></dl>
<dl><dt><a name="User-get_past_events"><strong>get_past_events</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Event">Event</a>&nbsp;objects<br>
if&nbsp;limit==None&nbsp;it&nbsp;will&nbsp;return&nbsp;all</tt></dd></dl>
<dl><dt><a name="User-get_playcount"><strong>get_playcount</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;user's&nbsp;playcount&nbsp;so&nbsp;far.</tt></dd></dl>
<dl><dt><a name="User-get_playlists"><strong>get_playlists</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;Playlists&nbsp;that&nbsp;this&nbsp;user&nbsp;owns.</tt></dd></dl>
<dl><dt><a name="User-get_recent_tracks"><strong>get_recent_tracks</strong></a>(self, limit<font color="#909090">=10</font>)</dt><dd><tt>Returns&nbsp;this&nbsp;user's&nbsp;played&nbsp;track&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#PlayedTrack">PlayedTrack</a>&nbsp;objects<br>
in&nbsp;reverse&nbsp;order&nbsp;of&nbsp;their&nbsp;playtime,&nbsp;all&nbsp;the&nbsp;way&nbsp;back&nbsp;to&nbsp;the&nbsp;first&nbsp;track.<br>
&nbsp;<br>
If&nbsp;limit==None,&nbsp;it&nbsp;will&nbsp;try&nbsp;to&nbsp;pull&nbsp;all&nbsp;the&nbsp;available&nbsp;data.<br>
&nbsp;<br>
This&nbsp;method&nbsp;uses&nbsp;caching.&nbsp;Enable&nbsp;caching&nbsp;only&nbsp;if&nbsp;you're&nbsp;pulling&nbsp;a<br>
large&nbsp;amount&nbsp;of&nbsp;data.<br>
&nbsp;<br>
Use&nbsp;<a href="#-extract_items">extract_items</a>()&nbsp;with&nbsp;the&nbsp;return&nbsp;of&nbsp;this&nbsp;function&nbsp;to<br>
get&nbsp;only&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Track">Track</a>&nbsp;objects&nbsp;with&nbsp;no&nbsp;playback&nbsp;dates.</tt></dd></dl>
<dl><dt><a name="User-get_shouts"><strong>get_shouts</strong></a>(self, limit<font color="#909090">=50</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequqence&nbsp;of&nbsp;<a href="#Shout">Shout</a>&nbsp;objects</tt></dd></dl>
<dl><dt><a name="User-get_top_albums"><strong>get_top_albums</strong></a>(self, period<font color="#909090">='overall'</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;top&nbsp;albums&nbsp;played&nbsp;by&nbsp;a&nbsp;user.&nbsp;<br>
*&nbsp;period:&nbsp;The&nbsp;period&nbsp;of&nbsp;time.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;PERIOD_OVERALL<br>
&nbsp;&nbsp;o&nbsp;PERIOD_7DAYS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_3MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_6MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_12MONTHS</tt></dd></dl>
<dl><dt><a name="User-get_top_artists"><strong>get_top_artists</strong></a>(self, period<font color="#909090">='overall'</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;top&nbsp;artists&nbsp;played&nbsp;by&nbsp;a&nbsp;user.&nbsp;<br>
*&nbsp;period:&nbsp;The&nbsp;period&nbsp;of&nbsp;time.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;PERIOD_OVERALL<br>
&nbsp;&nbsp;o&nbsp;PERIOD_7DAYS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_3MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_6MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_12MONTHS</tt></dd></dl>
<dl><dt><a name="User-get_top_tags"><strong>get_top_tags</strong></a>(self, limit<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;sequence&nbsp;of&nbsp;the&nbsp;top&nbsp;tags&nbsp;used&nbsp;by&nbsp;this&nbsp;user&nbsp;with&nbsp;their&nbsp;counts&nbsp;as&nbsp;(<a href="#Tag">Tag</a>,&nbsp;tagcount).&nbsp;<br>
*&nbsp;limit:&nbsp;The&nbsp;limit&nbsp;of&nbsp;how&nbsp;many&nbsp;tags&nbsp;to&nbsp;return.</tt></dd></dl>
<dl><dt><a name="User-get_top_tracks"><strong>get_top_tracks</strong></a>(self, period<font color="#909090">='overall'</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;top&nbsp;tracks&nbsp;played&nbsp;by&nbsp;a&nbsp;user.&nbsp;<br>
*&nbsp;period:&nbsp;The&nbsp;period&nbsp;of&nbsp;time.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;PERIOD_OVERALL<br>
&nbsp;&nbsp;o&nbsp;PERIOD_7DAYS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_3MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_6MONTHS<br>
&nbsp;&nbsp;o&nbsp;PERIOD_12MONTHS</tt></dd></dl>
<dl><dt><a name="User-get_upcoming_events"><strong>get_upcoming_events</strong></a>(self)</dt><dd><tt>Returns&nbsp;all&nbsp;the&nbsp;upcoming&nbsp;events&nbsp;for&nbsp;this&nbsp;user.</tt></dd></dl>
<dl><dt><a name="User-get_url"><strong>get_url</strong></a>(self, domain_name<font color="#909090">=0</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;url&nbsp;of&nbsp;the&nbsp;user&nbsp;page&nbsp;on&nbsp;the&nbsp;network.&nbsp;<br>
*&nbsp;domain_name:&nbsp;The&nbsp;network's&nbsp;language&nbsp;domain.&nbsp;Possible&nbsp;values:<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ENGLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_GERMAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SPANISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_FRENCH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_ITALIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_POLISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_PORTUGUESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_SWEDISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_TURKISH<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_RUSSIAN<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_JAPANESE<br>
&nbsp;&nbsp;o&nbsp;DOMAIN_CHINESE</tt></dd></dl>
<dl><dt><a name="User-get_weekly_album_charts"><strong>get_weekly_album_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;album&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="User-get_weekly_artist_charts"><strong>get_weekly_artist_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;artist&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="User-get_weekly_chart_dates"><strong>get_weekly_chart_dates</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;From&nbsp;and&nbsp;To&nbsp;tuples&nbsp;for&nbsp;the&nbsp;available&nbsp;charts.</tt></dd></dl>
<dl><dt><a name="User-get_weekly_track_charts"><strong>get_weekly_track_charts</strong></a>(self, from_date<font color="#909090">=None</font>, to_date<font color="#909090">=None</font>)</dt><dd><tt>Returns&nbsp;the&nbsp;weekly&nbsp;track&nbsp;charts&nbsp;for&nbsp;the&nbsp;week&nbsp;starting&nbsp;from&nbsp;the&nbsp;from_date&nbsp;value&nbsp;to&nbsp;the&nbsp;to_date&nbsp;value.</tt></dd></dl>
<dl><dt><a name="User-is_subscriber"><strong>is_subscriber</strong></a>(self)</dt><dd><tt>Returns&nbsp;whether&nbsp;the&nbsp;user&nbsp;is&nbsp;a&nbsp;subscriber&nbsp;or&nbsp;not.&nbsp;True&nbsp;or&nbsp;False.</tt></dd></dl>
<dl><dt><a name="User-shout"><strong>shout</strong></a>(self, message)</dt><dd><tt>Post&nbsp;a&nbsp;shout</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>name</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="User-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Venue">class <strong>Venue</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;venue&nbsp;where&nbsp;events&nbsp;are&nbsp;held.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#Venue">Venue</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Venue-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Venue-__init__"><strong>__init__</strong></a>(self, id, network)</dt></dl>
<dl><dt><a name="Venue-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Venue-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="Venue-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;id&nbsp;of&nbsp;the&nbsp;venue.</tt></dd></dl>
<dl><dt><a name="Venue-get_past_events"><strong>get_past_events</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;past&nbsp;events&nbsp;held&nbsp;in&nbsp;this&nbsp;venue.</tt></dd></dl>
<dl><dt><a name="Venue-get_upcoming_events"><strong>get_upcoming_events</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;upcoming&nbsp;events&nbsp;in&nbsp;this&nbsp;venue.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>id</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="Venue-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="VenueSearch">class <strong>VenueSearch</strong></a>(<a href="pylast.html#_Search">_Search</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Search&nbsp;for&nbsp;a&nbsp;venue&nbsp;by&nbsp;its&nbsp;name.&nbsp;If&nbsp;you&nbsp;don't&nbsp;wanna&nbsp;narrow&nbsp;the&nbsp;results&nbsp;down<br>
by&nbsp;specifying&nbsp;a&nbsp;country,&nbsp;set&nbsp;it&nbsp;to&nbsp;empty&nbsp;string.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#VenueSearch">VenueSearch</a></dd>
<dd><a href="pylast.html#_Search">_Search</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="VenueSearch-__init__"><strong>__init__</strong></a>(self, venue_name, country_name, network)</dt></dl>
<dl><dt><a name="VenueSearch-get_next_page"><strong>get_next_page</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;next&nbsp;page&nbsp;of&nbsp;results&nbsp;as&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#Track">Track</a>&nbsp;objects.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_Search">_Search</a>:<br>
<dl><dt><a name="VenueSearch-get_total_result_count"><strong>get_total_result_count</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;total&nbsp;count&nbsp;of&nbsp;all&nbsp;the&nbsp;results.</tt></dd></dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="VenueSearch-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="WSError">class <strong>WSError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="exceptions.html#Exception">Exception</a>&nbsp;related&nbsp;to&nbsp;the&nbsp;Network&nbsp;web&nbsp;service<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#WSError">WSError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="WSError-__init__"><strong>__init__</strong></a>(self, network, status, details)</dt></dl>
<dl><dt><a name="WSError-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="WSError-get_id"><strong>get_id</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;exception&nbsp;ID,&nbsp;from&nbsp;one&nbsp;of&nbsp;the&nbsp;following:<br>
STATUS_INVALID_SERVICE&nbsp;=&nbsp;2<br>
STATUS_INVALID_METHOD&nbsp;=&nbsp;3<br>
STATUS_AUTH_FAILED&nbsp;=&nbsp;4<br>
STATUS_INVALID_FORMAT&nbsp;=&nbsp;5<br>
STATUS_INVALID_PARAMS&nbsp;=&nbsp;6<br>
STATUS_INVALID_RESOURCE&nbsp;=&nbsp;7<br>
STATUS_TOKEN_ERROR&nbsp;=&nbsp;8<br>
STATUS_INVALID_SK&nbsp;=&nbsp;9<br>
STATUS_INVALID_API_KEY&nbsp;=&nbsp;10<br>
STATUS_OFFLINE&nbsp;=&nbsp;11<br>
STATUS_SUBSCRIBERS_ONLY&nbsp;=&nbsp;12<br>
STATUS_TOKEN_UNAUTHORIZED&nbsp;=&nbsp;14<br>
STATUS_TOKEN_EXPIRED&nbsp;=&nbsp;15</tt></dd></dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#WSError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="WSError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#WSError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="WSError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#WSError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
<dl><dt><a name="WSError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#WSError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
<dl><dt><a name="WSError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#WSError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
<dl><dt><a name="WSError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
<dl><dt><a name="WSError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#WSError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
<dl><dt><a name="WSError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#WSError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
<dl><dt><a name="WSError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
<dl><dt><a name="WSError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="XSPF">class <strong>XSPF</strong></a>(<a href="pylast.html#_BaseObject">_BaseObject</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;Last.fm&nbsp;<a href="#XSPF">XSPF</a>&nbsp;playlist.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pylast.html#XSPF">XSPF</a></dd>
<dd><a href="pylast.html#_BaseObject">_BaseObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="XSPF-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="XSPF-__init__"><strong>__init__</strong></a>(self, uri, network)</dt></dl>
<dl><dt><a name="XSPF-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="XSPF-__str__"><strong>__str__</strong></a> = r(*args)</dt></dl>
<dl><dt><a name="XSPF-get_tracks"><strong>get_tracks</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;tracks&nbsp;on&nbsp;this&nbsp;playlist.</tt></dd></dl>
<dl><dt><a name="XSPF-get_uri"><strong>get_uri</strong></a>(self)</dt><dd><tt>Returns&nbsp;the&nbsp;Last.fm&nbsp;playlist&nbsp;URI.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>uri</strong> = None</dl>
<hr>
Methods inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><a name="XSPF-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<hr>
Data descriptors inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="pylast.html#_BaseObject">_BaseObject</a>:<br>
<dl><dt><strong>network</strong> = None</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-extract_items"><strong>extract_items</strong></a>(topitems_or_libraryitems)</dt><dd><tt>Extracts&nbsp;a&nbsp;sequence&nbsp;of&nbsp;items&nbsp;from&nbsp;a&nbsp;sequence&nbsp;of&nbsp;<a href="#TopItem">TopItem</a>&nbsp;or&nbsp;<a href="#LibraryItem">LibraryItem</a>&nbsp;objects.</tt></dd></dl>
<dl><dt><a name="-get_lastfm_network"><strong>get_lastfm_network</strong></a>(api_key<font color="#909090">=''</font>, api_secret<font color="#909090">=''</font>, session_key<font color="#909090">=''</font>, username<font color="#909090">=''</font>, password_hash<font color="#909090">=''</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;preconfigured&nbsp;_Network&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;for&nbsp;Last.fm<br>
&nbsp;<br>
api_key:&nbsp;a&nbsp;provided&nbsp;API_KEY<br>
api_secret:&nbsp;a&nbsp;provided&nbsp;API_SECRET<br>
session_key:&nbsp;a&nbsp;generated&nbsp;session_key&nbsp;or&nbsp;None<br>
username:&nbsp;a&nbsp;username&nbsp;of&nbsp;a&nbsp;valid&nbsp;user<br>
password_hash:&nbsp;the&nbsp;output&nbsp;of&nbsp;pylast.<a href="#-md5">md5</a>(password)&nbsp;where&nbsp;password&nbsp;is&nbsp;the&nbsp;user's&nbsp;password<br>
&nbsp;<br>
if&nbsp;username&nbsp;and&nbsp;password_hash&nbsp;were&nbsp;provided&nbsp;and&nbsp;not&nbsp;session_key,&nbsp;session_key&nbsp;will&nbsp;be<br>
generated&nbsp;automatically&nbsp;when&nbsp;needed.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
Either&nbsp;a&nbsp;valid&nbsp;session_key&nbsp;or&nbsp;a&nbsp;combination&nbsp;of&nbsp;username&nbsp;and&nbsp;password_hash&nbsp;must&nbsp;be&nbsp;present&nbsp;for&nbsp;scrobbling.<br>
&nbsp;<br>
Most&nbsp;read-only&nbsp;webservices&nbsp;only&nbsp;require&nbsp;an&nbsp;api_key&nbsp;and&nbsp;an&nbsp;api_secret,&nbsp;see&nbsp;about&nbsp;obtaining&nbsp;them&nbsp;from:<br>
<a href="http://www.last.fm/api/account">http://www.last.fm/api/account</a></tt></dd></dl>
<dl><dt><a name="-get_librefm_network"><strong>get_librefm_network</strong></a>(api_key<font color="#909090">=''</font>, api_secret<font color="#909090">=''</font>, session_key<font color="#909090">=''</font>, username<font color="#909090">=''</font>, password_hash<font color="#909090">=''</font>)</dt><dd><tt>Returns&nbsp;a&nbsp;preconfigured&nbsp;_Network&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;for&nbsp;Libre.fm<br>
&nbsp;<br>
api_key:&nbsp;a&nbsp;provided&nbsp;API_KEY<br>
api_secret:&nbsp;a&nbsp;provided&nbsp;API_SECRET<br>
session_key:&nbsp;a&nbsp;generated&nbsp;session_key&nbsp;or&nbsp;None<br>
username:&nbsp;a&nbsp;username&nbsp;of&nbsp;a&nbsp;valid&nbsp;user<br>
password_hash:&nbsp;the&nbsp;output&nbsp;of&nbsp;pylast.<a href="#-md5">md5</a>(password)&nbsp;where&nbsp;password&nbsp;is&nbsp;the&nbsp;user's&nbsp;password<br>
&nbsp;<br>
if&nbsp;username&nbsp;and&nbsp;password_hash&nbsp;were&nbsp;provided&nbsp;and&nbsp;not&nbsp;session_key,&nbsp;session_key&nbsp;will&nbsp;be<br>
generated&nbsp;automatically&nbsp;when&nbsp;needed.</tt></dd></dl>
<dl><dt><a name="-md5"><strong>md5</strong></a>(text)</dt><dd><tt>Returns&nbsp;the&nbsp;md5&nbsp;hash&nbsp;of&nbsp;a&nbsp;string.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>COVER_EXTRA_LARGE</strong> = 3<br>
<strong>COVER_LARGE</strong> = 2<br>
<strong>COVER_MEDIUM</strong> = 1<br>
<strong>COVER_MEGA</strong> = 4<br>
<strong>COVER_SMALL</strong> = 0<br>
<strong>DOMAIN_CHINESE</strong> = 11<br>
<strong>DOMAIN_ENGLISH</strong> = 0<br>
<strong>DOMAIN_FRENCH</strong> = 3<br>
<strong>DOMAIN_GERMAN</strong> = 1<br>
<strong>DOMAIN_ITALIAN</strong> = 4<br>
<strong>DOMAIN_JAPANESE</strong> = 10<br>
<strong>DOMAIN_POLISH</strong> = 5<br>
<strong>DOMAIN_PORTUGUESE</strong> = 6<br>
<strong>DOMAIN_RUSSIAN</strong> = 9<br>
<strong>DOMAIN_SPANISH</strong> = 2<br>
<strong>DOMAIN_SWEDISH</strong> = 7<br>
<strong>DOMAIN_TURKISH</strong> = 8<br>
<strong>EVENT_ATTENDING</strong> = '0'<br>
<strong>EVENT_MAYBE_ATTENDING</strong> = '1'<br>
<strong>EVENT_NOT_ATTENDING</strong> = '2'<br>
<strong>IMAGES_ORDER_DATE</strong> = 'dateadded'<br>
<strong>IMAGES_ORDER_POPULARITY</strong> = 'popularity'<br>
<strong>PERIOD_12MONTHS</strong> = '12month'<br>
<strong>PERIOD_3MONTHS</strong> = '3month'<br>
<strong>PERIOD_6MONTHS</strong> = '6month'<br>
<strong>PERIOD_7DAYS</strong> = '7day'<br>
<strong>PERIOD_OVERALL</strong> = 'overall'<br>
<strong>SCROBBLE_MODE_BANNED</strong> = 'B'<br>
<strong>SCROBBLE_MODE_LOVED</strong> = 'L'<br>
<strong>SCROBBLE_MODE_PLAYED</strong> = ''<br>
<strong>SCROBBLE_MODE_SKIPPED</strong> = 'S'<br>
<strong>SCROBBLE_SOURCE_LASTFM</strong> = 'L'<br>
<strong>SCROBBLE_SOURCE_NON_PERSONALIZED_BROADCAST</strong> = 'R'<br>
<strong>SCROBBLE_SOURCE_PERSONALIZED_BROADCAST</strong> = 'E'<br>
<strong>SCROBBLE_SOURCE_UNKNOWN</strong> = 'U'<br>
<strong>SCROBBLE_SOURCE_USER</strong> = 'P'<br>
<strong>STATUS_AUTH_FAILED</strong> = 4<br>
<strong>STATUS_INVALID_API_KEY</strong> = 10<br>
<strong>STATUS_INVALID_FORMAT</strong> = 5<br>
<strong>STATUS_INVALID_METHOD</strong> = 3<br>
<strong>STATUS_INVALID_PARAMS</strong> = 6<br>
<strong>STATUS_INVALID_RESOURCE</strong> = 7<br>
<strong>STATUS_INVALID_SERVICE</strong> = 2<br>
<strong>STATUS_INVALID_SIGNATURE</strong> = 13<br>
<strong>STATUS_INVALID_SK</strong> = 9<br>
<strong>STATUS_OFFLINE</strong> = 11<br>
<strong>STATUS_SUBSCRIBERS_ONLY</strong> = 12<br>
<strong>STATUS_TOKEN_ERROR</strong> = 8<br>
<strong>STATUS_TOKEN_EXPIRED</strong> = 15<br>
<strong>STATUS_TOKEN_UNAUTHORIZED</strong> = 14<br>
<strong>USER_FEMALE</strong> = 'Female'<br>
<strong>USER_MALE</strong> = 'Male'<br>
<strong>__author__</strong> = 'Amr Hassan'<br>
<strong>__copyright__</strong> = 'Copyright (C) 2008-2010 Amr Hassan'<br>
<strong>__email__</strong> = 'amr.hassan@gmail.com'<br>
<strong>__license__</strong> = 'apache2'<br>
<strong>__version__</strong> = '0.5'</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Amr&nbsp;Hassan</td></tr></table>
</body></html>