musixmatch.artist.ArtistsCollection Class Reference
Inheritance diagram for musixmatch.artist.ArtistsCollection:
Inheritance graph
Collaboration diagram for musixmatch.artist.ArtistsCollection:
Collaboration graph

Public Member Functions

def fromSearch (cls, keywords)
 
def fromChart (cls, keywords)
 
def fromSearch (cls, keywords)
 
def fromChart (cls, keywords)
 
def fromSearch (cls, keywords)
 
def fromChart (cls, keywords)
 
def fromSearch (cls, keywords)
 
def fromChart (cls, keywords)
 
- Public Member Functions inherited from musixmatch.base.ItemsCollection
def __init__ (self, items)
 
def __repr__ (self)
 
def __str__ (self)
 
def __add__ (self, iterable)
 
def __iadd__ (self, iterable)
 
def __mul__ (self, by)
 
def __imul__ (self, by)
 
def __setitem__ (self, key, item)
 
def __setslice__ (self, indices)
 
def __getslice__ (self, i=0, j=-1)
 
def __getitem__ (self, i)
 
def append (self, item)
 
def extend (self, iterable)
 
def count (self, item)
 
def copy (self)
 
def index (self, item, indices)
 
def insert (self, key, item)
 
def paged (self, page_size=3)
 
def page (self, page_index, page_size=3)
 
def pager (self, page_size=3)
 
def pages (self, page_size=3)
 
def fromResponseMessage (cls, message)
 
def allowedin (cls)
 
def label (cls)
 
def __init__ (self, items)
 
def __repr__ (self)
 
def __str__ (self)
 
def __add__ (self, iterable)
 
def __iadd__ (self, iterable)
 
def __mul__ (self, by)
 
def __imul__ (self, by)
 
def __setitem__ (self, key, item)
 
def __setslice__ (self, indices)
 
def __getslice__ (self, i=0, j=-1)
 
def __getitem__ (self, i)
 
def append (self, item)
 
def extend (self, iterable)
 
def count (self, item)
 
def copy (self)
 
def index (self, item, indices)
 
def insert (self, key, item)
 
def paged (self, page_size=3)
 
def page (self, page_index, page_size=3)
 
def pager (self, page_size=3)
 
def pages (self, page_size=3)
 
def fromResponseMessage (cls, message)
 
def allowedin (cls)
 
def label (cls)
 
def __init__ (self, items)
 
def __repr__ (self)
 
def __str__ (self)
 
def __add__ (self, iterable)
 
def __iadd__ (self, iterable)
 
def __mul__ (self, by)
 
def __imul__ (self, by)
 
def __setitem__ (self, key, item)
 
def __setslice__ (self, indices)
 
def __getslice__ (self, i=0, j=-1)
 
def __getitem__ (self, i)
 
def append (self, item)
 
def extend (self, iterable)
 
def count (self, item)
 
def copy (self)
 
def index (self, item, indices)
 
def insert (self, key, item)
 
def paged (self, page_size=3)
 
def page (self, page_index, page_size=3)
 
def pager (self, page_size=3)
 
def pages (self, page_size=3)
 
def fromResponseMessage (cls, message)
 
def allowedin (cls)
 
def label (cls)
 
def __init__ (self, items)
 
def __repr__ (self)
 
def __str__ (self)
 
def __add__ (self, iterable)
 
def __iadd__ (self, iterable)
 
def __mul__ (self, by)
 
def __imul__ (self, by)
 
def __setitem__ (self, key, item)
 
def __setslice__ (self, indices)
 
def __getslice__ (self, i=0, j=-1)
 
def __getitem__ (self, i)
 
def append (self, item)
 
def extend (self, iterable)
 
def count (self, item)
 
def copy (self)
 
def index (self, item, indices)
 
def insert (self, key, item)
 
def paged (self, page_size=3)
 
def page (self, page_index, page_size=3)
 
def pager (self, page_size=3)
 
def pages (self, page_size=3)
 
def fromResponseMessage (cls, message)
 
def allowedin (cls)
 
def label (cls)
 
- 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)
 

Static Private Attributes

 __allowedin__ = Artist
 

Detailed Description

This class build a :py:class:`list` like object representing an artists
collection. It accepts :py:class:`dict` or :py:class:`Artist` objects.

Definition at line 40 of file musixmatch-master/build/lib/musixmatch/artist.py.

Member Function Documentation

def musixmatch.artist.ArtistsCollection.fromChart (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.chart.get** :py:class:`musixmatch.api.Method` call.

:param page: requested page of results
:param page_size: desired number of items per result page
:param country: the country code of the desired country chart
:rtype: :py:class:`ArtistsCollection`

Definition at line 69 of file musixmatch-master/build/lib/musixmatch/artist.py.

Referenced by musixmatch.artist.ArtistsCollection.fromChart().

def musixmatch.artist.ArtistsCollection.fromChart (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.chart.get** :py:class:`musixmatch.api.Method` call.

:param page: requested page of results
:param page_size: desired number of items per result page
:param country: the country code of the desired country chart
:rtype: :py:class:`ArtistsCollection`

Definition at line 69 of file musixmatch-master/musixmatch/artist.py.

def musixmatch.artist.ArtistsCollection.fromChart (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.chart.get** :py:class:`musixmatch.api.Method` call.

:param page: requested page of results
:param page_size: desired number of items per result page
:param country: the country code of the desired country chart
:rtype: :py:class:`ArtistsCollection`

Definition at line 69 of file Yading/musixmatch-master/musixmatch/artist.py.

def musixmatch.artist.ArtistsCollection.fromChart (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.chart.get** :py:class:`musixmatch.api.Method` call.

:param page: requested page of results
:param page_size: desired number of items per result page
:param country: the country code of the desired country chart
:rtype: :py:class:`ArtistsCollection`

Definition at line 69 of file Yading/musixmatch-master/build/lib/musixmatch/artist.py.

def musixmatch.artist.ArtistsCollection.fromSearch (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.search** :py:class:`musixmatch.api.Method` call.

:param q: a string that will be searched in every data field
     (q_track, q_artist, q_lyrics)
:param q_track: words to be searched among track titles
:param q_artist: words to be searched among artist names
:param q_lyrics: words to be searched into the lyrics
:param page: requested page of results
:param page_size: desired number of items per result page
:param f_has_lyrics: exclude tracks without an available lyrics
                (automatic if q_lyrics is set)
:param f_artist_id: filter the results by the artist_id
:param f_artist_mbid: filter the results by the artist_mbid
:rtype: :py:class:`ArtistsCollection`

Definition at line 48 of file Yading/musixmatch-master/build/lib/musixmatch/artist.py.

def musixmatch.artist.ArtistsCollection.fromSearch (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.search** :py:class:`musixmatch.api.Method` call.

:param q: a string that will be searched in every data field
     (q_track, q_artist, q_lyrics)
:param q_track: words to be searched among track titles
:param q_artist: words to be searched among artist names
:param q_lyrics: words to be searched into the lyrics
:param page: requested page of results
:param page_size: desired number of items per result page
:param f_has_lyrics: exclude tracks without an available lyrics
                (automatic if q_lyrics is set)
:param f_artist_id: filter the results by the artist_id
:param f_artist_mbid: filter the results by the artist_mbid
:rtype: :py:class:`ArtistsCollection`

Definition at line 48 of file musixmatch-master/build/lib/musixmatch/artist.py.

Referenced by musixmatch.artist.ArtistsCollection.fromSearch().

def musixmatch.artist.ArtistsCollection.fromSearch (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.search** :py:class:`musixmatch.api.Method` call.

:param q: a string that will be searched in every data field
     (q_track, q_artist, q_lyrics)
:param q_track: words to be searched among track titles
:param q_artist: words to be searched among artist names
:param q_lyrics: words to be searched into the lyrics
:param page: requested page of results
:param page_size: desired number of items per result page
:param f_has_lyrics: exclude tracks without an available lyrics
                (automatic if q_lyrics is set)
:param f_artist_id: filter the results by the artist_id
:param f_artist_mbid: filter the results by the artist_mbid
:rtype: :py:class:`ArtistsCollection`

Definition at line 48 of file musixmatch-master/musixmatch/artist.py.

def musixmatch.artist.ArtistsCollection.fromSearch (   cls,
  keywords 
)
This classmethod builds an :py:class:`ArtistsCollection` from a
**artist.search** :py:class:`musixmatch.api.Method` call.

:param q: a string that will be searched in every data field
     (q_track, q_artist, q_lyrics)
:param q_track: words to be searched among track titles
:param q_artist: words to be searched among artist names
:param q_lyrics: words to be searched into the lyrics
:param page: requested page of results
:param page_size: desired number of items per result page
:param f_has_lyrics: exclude tracks without an available lyrics
                (automatic if q_lyrics is set)
:param f_artist_id: filter the results by the artist_id
:param f_artist_mbid: filter the results by the artist_mbid
:rtype: :py:class:`ArtistsCollection`

Definition at line 48 of file Yading/musixmatch-master/musixmatch/artist.py.

Field Documentation

musixmatch.artist.ArtistsCollection.__allowedin__ = Artist
staticprivate

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