Package lastfm :: Module event :: Class Event

[hide private]
[frames] | no frames]

# Class Event

source code

                    object --+
                             |
               base.LastfmBase --+
                                 |
                    object --+   |
                             |   |
    mixins.cacheable.Cacheable --+
                                 |
                    object --+   |
                             |   |
      mixins.sharable.Sharable --+
                                 |
                    object --+   |
                             |   |
    mixins.shoutable.Shoutable --+
                                 |
                                Event

A class representing an event.

Instance Methods | [hide private]

init(self, api, id=None, title=None, artists=None, headliner=None, venue=None, start_date=None, description=None, image=None, url=None, stats=None, tag=None, subject=None) | source code

attend(self, status=0) | 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

Inherited from mixins.sharable.Sharable

share(self, *args, **kwargs) | source code

Static Methods | [hide private]

get_info(api, event) | source code

create_from_data(api, data) | source code

_hash_func(*args, **kwds) | 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]

| STATUS_ATTENDING = `0`
| STATUS_MAYBE = `1`
| STATUS_NOT = `2`
Inherited from mixins.cacheable.Cacheable
| _lock = `Lock()`
| registry = ``{``}``

Properties | [hide private]

| id id of the event
| title title of the event
| artists artists performing in the event
| headliner headliner artist of the event
| venue venue of the event
| start_date start date of the event
| description description of the event
| image poster of the event
| url url of the event's page
| stats stats of the event
| tag tags for the event
Inherited from `object`: `__class__`
Inherited from mixins.shoutable.Shoutable
| recent_shout recent shout for this subject
| shouts shouts for this ssubject

Method Details | [hide private]

### init(self, api, id=None, title=None, artists=None, headliner=None, venue=None, start_date=None, description=None, image=None, url=None, stats=None, tag=None, subject=None)

source code

Overrides: mixins.shoutable.Shoutable.init

### _default_params(self, extra_params=`[``]`)

source code

Overrides: mixins.shoutable.Shoutable._default_params

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

id of the event

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

### title

title of the event

Get Method:
  unreachable.title(self) - title of the event

### artists

artists performing in the event

Get Method:
  unreachable.artists(self) - artists performing in the event

### headliner

headliner artist of the event

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

### venue

venue of the event

Get Method:
  unreachable.venue(self) - venue of the event

### start_date

start date of the event

Get Method:
  unreachable.start_date(self) - start date of the event

### description

description of the event

Get Method:
  unreachable.description(self) - description of the event

### image

poster of the event

Get Method:
  unreachable.image(self) - poster of the event

### url

url of the event's page

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

### stats

stats of the event

Get Method:
  unreachable.stats(self) - stats of the event

### tag

tags for the event

Get Method:
  unreachable.tag(self) - tags for the event