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

Class Playlist

source code

                object --+        
                         |        
           base.LastfmBase --+    
                             |    
                object --+   |    
                         |   |    
mixins.cacheable.Cacheable --+    
                             |    
             playlist.Playlist --+
                                 |
                                User.Playlist

A class representing a playlist belonging to the user.

Instance Methods [hide private]
 
init(self, api, id, title, date, size, creator) source code
 
add_track(self, *args, **kwargs) source code
 
__hash__(self)
hash(x)
source code
 
__repr__(self)
repr(x)
source code

Inherited from playlist.Playlist: __eq__, __lt__

Inherited from base.LastfmBase: __ge__, __gt__, __le__, __ne__

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

Static Methods [hide private]
 
_hash_func(*args, **kwds) source code

Inherited from playlist.Playlist: fetch

Inherited from base.LastfmBase: autheticate, cached_property, top_property

Inherited from mixins.cacheable.Cacheable: __new__, register

Class Variables [hide private]

Inherited from mixins.cacheable.Cacheable: registry

Inherited from mixins.cacheable.Cacheable (private): _lock

Properties [hide private]
  id
  title
  date
  size
  creator
  user

Inherited from playlist.Playlist: data, url

Inherited from object: __class__

Method Details [hide private]

init(self, api, id, title, date, size, creator)

source code 
Overrides: playlist.Playlist.init

add_track(self, *args, **kwargs)

source code 
Decorators:
  • @LastfmBase.autheticate

_hash_func(*args, **kwds)
Static Method

source code 
Overrides: playlist.Playlist._hash_func

__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]

id

Get Method:
unreachable.id(self)

title

Get Method:
unreachable.title(self)

date

Get Method:
unreachable.date(self)

size

Get Method:
unreachable.size(self)

creator

Get Method:
unreachable.creator(self)

user

Get Method:
unreachable.user(self)