Package lastfm :: Module user :: Class User :: Class Library
[hide private]
[frames] | no frames]

Class Library

source code

object --+
         |
        User.Library

A class representing the music library of the user.

Instance Methods [hide private]
 
__init__(self, api, user)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_albums(self, limit=None) source code
 
add_album(self, *args, **kwargs) source code
 
get_artists(self, limit=None) source code
 
add_artist(self, *args, **kwargs) source code
 
get_tracks(self, limit=None) source code
 
add_track(self, *args, **kwargs) source code
 
_default_params(self, extra_params={}) source code
 
__hash__(self)
hash(x)
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
_hash_func(*args, **kwds) source code
Properties [hide private]
  user
  albums
  artists
  tracks

Inherited from object: __class__

Method Details [hide private]

__init__(self, api, user)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

add_album(self, *args, **kwargs)

source code 
Decorators:
  • @LastfmBase.autheticate

add_artist(self, *args, **kwargs)

source code 
Decorators:
  • @LastfmBase.autheticate

add_track(self, *args, **kwargs)

source code 
Decorators:
  • @LastfmBase.autheticate

__hash__(self)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

user

Get Method:
unreachable.user(self)

albums

Get Method:
unreachable.wrapper(ob)

artists

Get Method:
unreachable.wrapper(ob)

tracks

Get Method:
unreachable.wrapper(ob)