Package lastfm :: Module artist :: Class Artist
[hide private]
[frames] | no frames]

Class Artist

source code

                  object --+    
                           |    
             base.LastfmBase --+
                               |
                  object --+   |
                           |   |
  mixins.cacheable.Cacheable --+
                               |
                  object --+   |
                           |   |
    mixins.sharable.Sharable --+
                               |
                  object --+   |
                           |   |
  mixins.shoutable.Shoutable --+
                               |
                  object --+   |
                           |   |
mixins.searchable.Searchable --+
                               |
                  object --+   |
                           |   |
    mixins.taggable.Taggable --+
                               |
                              Artist

A class representing an artist.

Instance Methods [hide private]
 
init(self, api, name=None, mbid=None, url=None, image=None, streamable=None, stats=None, similar=None, top_tags=None, bio=None) source code
 
get_similar(self, limit=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 object: __delattr__, __format__, __getattribute__, __init__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from base.LastfmBase
 
__ge__(self, other) source code
 
__gt__(self, other) source code
 
__le__(self, other) source code
 
__ne__(self, other) source code
    Inherited from mixins.sharable.Sharable
 
share(self, recipient, message=None) source code
    Inherited from mixins.taggable.Taggable
 
add_tags(self, tags) source code
 
remove_tag(self, tag) source code
Class Methods [hide private]
    Inherited from mixins.searchable.Searchable
 
search(cls, api, search_item, limit=None, **kwds) source code
Static Methods [hide private]
 
get_info(api, artist=None, mbid=None) source code
 
_fetch_data(api, artist=None, mbid=None) source code
 
_search_yield_func(api, artist) source code
 
_hash_func(*args, **kwds) source code
    Inherited from base.LastfmBase
 
autheticate(func) source code
 
cached_property(func) source code
 
top_property(list_property_name) source code
    Inherited from mixins.cacheable.Cacheable
a new object with type S, a subtype of T
__new__(cls, *args, **kwds) source code
 
register(ob, key) source code
Class Variables [hide private]
    Inherited from mixins.cacheable.Cacheable
  _lock = Lock()
  registry = {}
Properties [hide private]
  name
name of the artist
  mbid
mbid of the artist
  url
url of the artist's page
  image
images of the artist
  streamable
is the artist streamable
  stats
stats for the artist
  similar
artists similar to this artist
  most_similar
artist most similar to this artist
  top_tags
top tags for the artist
  top_tag
top tag for the artist
  bio
biography of the artist
  events
events for the artist
  top_albums
top albums of the artist
  top_album
top album of the artist
  top_fans
top fans of the artist
  top_fan
top fan of the artist
  top_tracks
top tracks of the artist
  top_track
topmost fan of the artist

Inherited from object: __class__

    Inherited from mixins.shoutable.Shoutable
  recent_shout
recent shout for this subject
  shouts
shouts for this ssubject
    Inherited from mixins.taggable.Taggable
  tags
Method Details [hide private]

init(self, api, name=None, mbid=None, url=None, image=None, streamable=None, stats=None, similar=None, top_tags=None, bio=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, artist)
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 artist

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

mbid

mbid of the artist

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

url

url of the artist's page

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

image

images of the artist

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

streamable

is the artist streamable

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

stats

stats for the artist

Get Method:
unreachable.stats(self) - stats for the artist

similar

artists similar to this artist

Get Method:
unreachable.similar(self) - artists similar to this artist

most_similar

artist most similar to this artist

Get Method:
unreachable.wrapper(ob)

top_tags

top tags for the artist

Get Method:
unreachable.top_tags(self) - top tags for the artist

top_tag

top tag for the artist

Get Method:
unreachable.wrapper(ob)

bio

biography of the artist

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

events

events for the artist

Get Method:
unreachable.wrapper(ob)

top_albums

top albums of the artist

Get Method:
unreachable.wrapper(ob)

top_album

top album of the artist

Get Method:
unreachable.wrapper(ob)

top_fans

top fans of the artist

Get Method:
unreachable.wrapper(ob)

top_fan

top fan of the artist

Get Method:
unreachable.wrapper(ob)

top_tracks

top tracks of the artist

Get Method:
unreachable.wrapper(ob)

top_track

topmost fan of the artist

Get Method:
unreachable.wrapper(ob)