Package lastfm :: Module tag :: Class Tag
[hide private]
[frames] | no frames]

Class Tag

source code

                  object --+    
                           |    
             base.LastfmBase --+
                               |
                  object --+   |
                           |   |
  mixins.cacheable.Cacheable --+
                               |
                  object --+   |
                           |   |
mixins.searchable.Searchable --+
                               |
                              Tag

A class representing a tag.

Instance Methods [hide private]
 
init(self, api, name=None, url=None, streamable=None, stats=None) source code
 
get_weekly_artist_chart(self, start=None, end=None, limit=None) source code
 
_default_params(self, extra_params={}) 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
Class Methods [hide private]
    Inherited from mixins.searchable.Searchable
 
search(cls, api, search_item, limit=None, **kwds) source code
Static Methods [hide private]
 
get_top_tags(api) source code
 
_search_yield_func(api, tag) 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 tag
  url
url of the tag's page
  streamable
is the tag streamable
  stats
  similar
tags similar to this tag
  most_similar
most similar tag to this tag
  top_albums
top albums for the tag
  top_album
top album for the tag
  top_artists
top artists for the tag
  top_artist
top artist for the tag
  top_tracks
top tracks for the tag
  top_track
top track for the tag
  playlist
  weekly_chart_list
  recent_weekly_artist_chart
  weekly_artist_chart_list

Inherited from object: __class__

Method Details [hide private]

_search_yield_func(api, tag)
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 tag

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

url

url of the tag's page

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

streamable

is the tag streamable

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

stats

Get Method:
unreachable.stats(self)

similar

tags similar to this tag

Get Method:
unreachable.wrapper(ob)

most_similar

most similar tag to this tag

Get Method:
unreachable.wrapper(ob)

top_albums

top albums for the tag

Get Method:
unreachable.wrapper(ob)

top_album

top album for the tag

Get Method:
unreachable.wrapper(ob)

top_artists

top artists for the tag

Get Method:
unreachable.wrapper(ob)

top_artist

top artist for the tag

Get Method:
unreachable.wrapper(ob)

top_tracks

top tracks for the tag

Get Method:
unreachable.wrapper(ob)

top_track

top track for the tag

Get Method:
unreachable.wrapper(ob)

playlist

Get Method:
unreachable.wrapper(ob)

weekly_chart_list

Get Method:
unreachable.wrapper(ob)

recent_weekly_artist_chart

Get Method:
unreachable.wrapper(ob)

weekly_artist_chart_list

Get Method:
unreachable.wrapper(ob)