Package lastfm :: Module album :: Class Album
[hide private]
[frames] | no frames]

Class Album

source code

                  object --+    
                           |    
             base.LastfmBase --+
                               |
                  object --+   |
                           |   |
  mixins.cacheable.Cacheable --+
                               |
                  object --+   |
                           |   |
mixins.searchable.Searchable --+
                               |
                  object --+   |
                           |   |
    mixins.taggable.Taggable --+
                               |
                              Album

A class representing an album.

Instance Methods [hide private]
 
init(self, api, name=None, artist=None, id=None, mbid=None, url=None, release_date=None, image=None, stats=None, top_tags=None, streamable=None) source code
 
_default_params(self, extra_params={}) source code
 
_fill_info(self) source code
 
__hash__(self)
hash(x)
source code
 
__eq__(self, other) source code
 
__lt__(self, other) source code
 
__repr__(self)
repr(x)
source code

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

Inherited from mixins.taggable.Taggable: add_tags, remove_tag

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

Class Methods [hide private]

Inherited from mixins.searchable.Searchable: search

Static Methods [hide private]
 
get_info(api, artist=None, album=None, mbid=None) source code
 
_fetch_data(api, artist=None, album=None, mbid=None) source code
 
_search_yield_func(api, album) source code
 
_hash_func(*args, **kwds) source code

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]
  name
name of the album
  artist
artist of the album
  id
id of the album
  mbid
mbid of the album
  url
url of the album's page
  release_date
release date of the album
  image
cover images of the album
  stats
stats related to the album
  streamable
is the album streamable
  top_tags
top tags for the album
  top_tag
top tag for the album
  playlist
playlist for the album

Inherited from mixins.taggable.Taggable: tags

Inherited from object: __class__

Method Details [hide private]

init(self, api, name=None, artist=None, id=None, mbid=None, url=None, release_date=None, image=None, stats=None, top_tags=None, streamable=None)

source code 
Overrides: mixins.taggable.Taggable.init

_default_params(self, extra_params={})

source code 
Overrides: mixins.taggable.Taggable._default_params

_search_yield_func(api, album)
Static Method

source code 
Overrides: mixins.searchable.Searchable._search_yield_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]

name

name of the album

Get Method:
unreachable.name(self) - name of the album

artist

artist of the album

Get Method:
unreachable.artist(self) - artist of the album

id

id of the album

Get Method:
unreachable.id(self) - id of the album

mbid

mbid of the album

Get Method:
unreachable.mbid(self) - mbid of the album

url

url of the album's page

Get Method:
unreachable.url(self) - url of the album's page

release_date

release date of the album

Get Method:
unreachable.release_date(self) - release date of the album

image

cover images of the album

Get Method:
unreachable.image(self) - cover images of the album

stats

stats related to the album

Get Method:
unreachable.stats(self) - stats related to the album

streamable

is the album streamable

Get Method:
unreachable.streamable(self) - is the album streamable

top_tags

top tags for the album

Get Method:
unreachable.wrapper(ob)

top_tag

top tag for the album

Get Method:
unreachable.wrapper(ob)

playlist

playlist for the album

Get Method:
unreachable.wrapper(ob)