musixmatch.lyrics.Lyrics Class Reference
Inheritance diagram for musixmatch.lyrics.Lyrics:
Inheritance graph
Collaboration diagram for musixmatch.lyrics.Lyrics:
Collaboration graph

Static Private Attributes

 __api_method__ = track.lyrics.get
 

Additional Inherited Members

- Public Member Functions inherited from musixmatch.base.Item
def __init__ (self, dictionary=None, keywords)
 
def __str__ (self)
 
def __repr__ (self)
 
def __hash__ (self)
 
def fromResponseMessage (cls, message)
 
def fromDictionary (cls, dictionary, keywords)
 
def __init__ (self, dictionary=None, keywords)
 
def __str__ (self)
 
def __repr__ (self)
 
def __hash__ (self)
 
def fromResponseMessage (cls, message)
 
def fromDictionary (cls, dictionary, keywords)
 
def __init__ (self, dictionary=None, keywords)
 
def __str__ (self)
 
def __repr__ (self)
 
def __hash__ (self)
 
def fromResponseMessage (cls, message)
 
def fromDictionary (cls, dictionary, keywords)
 
def __init__ (self, dictionary=None, keywords)
 
def __str__ (self)
 
def __repr__ (self)
 
def __hash__ (self)
 
def fromResponseMessage (cls, message)
 
def fromDictionary (cls, dictionary, keywords)
 
- Public Member Functions inherited from musixmatch.base.Base
def label (cls)
 
def apiMethod (cls)
 
def __str__ (self)
 
def __repr__ (self)
 
def label (cls)
 
def apiMethod (cls)
 
def __str__ (self)
 
def __repr__ (self)
 
def label (cls)
 
def apiMethod (cls)
 
def __str__ (self)
 
def __repr__ (self)
 
def label (cls)
 
def apiMethod (cls)
 
def __str__ (self)
 
def __repr__ (self)
 

Detailed Description

This class builds a :py:class:`dict` object representing a the lyrics of a
track. It can get lyrics through the :py:class:`musixmatch.api.Method`
**track.lyrics.get** or from an already well-formed :py:class:`dict`.
Create a Track object based on a given keyword argument:

:param track_id: musiXmatch track ID
:param musicbrainz_id: Musicbrainz track ID
:param track_echonest_id: Echonest track ID
:param lyrics_data: an already well-formed :py:class:`dict` of track data
:raises: :py:class:`musixmatch.api.Error` if :py:class:`musixmatch.api.ResponseStatusCode` is not 200

Once information are collected, the following keys are available:

:keyword lyrics_body: the lyrics text
:keyword lyrics_id: the Musixmatch lyrics id
:keyword lyrics_language: the lyrics language
:keyword lyrics_copyright: the lyrics copyright statement
:keyword pixel_tracking_url: the pixel tracking url
:keyword script_tracking_url: the script tracking url

Definition at line 20 of file musixmatch-master/build/lib/musixmatch/lyrics.py.

Field Documentation

musixmatch.lyrics.Lyrics.__api_method__ = track.lyrics.get
staticprivate

The documentation for this class was generated from the following file: