This module contains higher level classes to query Musixmatch API and build simple dictionary-like objects representing a track lyrics.
>>> from musixmatch.lyrics import Lyrics
>>> import musixmatch.api
>>>
>>> try:
... lyrics = Lyrics(lyrics_id=292)
... except musixmatch.api.Error, e:
... pass
Bases: musixmatch.base.Item
This class builds a dict object representing a the lyrics of a track. It can get lyrics through the musixmatch.api.Method track.lyrics.get or from an already well-formed dict. Create a Track object based on a given keyword argument:
Parameters: |
|
---|---|
Raises : | musixmatch.api.Error if musixmatch.api.ResponseStatusCode is not 200 |
Once information are collected, the following keys are available:
Parameters: |
|
---|