weboob.capabilities.bands

class weboob.capabilities.bands.BandInfo(name=None, year=None, country=None, genre=None, description=None, url=None)

Bases: weboob.capabilities.base.BaseObject

Information about one specific band.
Variables:
  • name – (unicode) Name of band
  • genre – (unicode) Music genre of the band
  • year – (unicode) Year of creation
  • country – (unicode) Country of origin
  • description – (unicode) Description of the band
class weboob.capabilities.bands.BandSearch(id='', name=None, short_description=None, url=None)

Bases: weboob.capabilities.base.BaseObject

Bands search.
Variables:
  • name – (unicode) Name of band
  • short_description – (unicode) Short description of the band
class weboob.capabilities.bands.Albums(name=None, album_type=None, year=None, reviews=None, url=None)

Bases: weboob.capabilities.base.BaseObject

Information about one specific band.
Variables:
  • name – (unicode) Album name
  • album_type – (unicode) Type of album
  • year – (unicode) Year of release
  • reviews – (unicode) Album reviews
exception weboob.capabilities.bands.BandNotFound

Bases: weboob.capabilities.base.UserError

Raised when no band is found.

class weboob.capabilities.bands.Suggestion(id='', name=None, description=None, url=None)

Bases: weboob.capabilities.base.BaseObject

Band suggestions based on your favorite bands.
Variables:
  • name – (unicode) Name of suggested band
  • description – (unicode) Band description
  • url – (unicode) URL of suggested band
class weboob.capabilities.bands.Favorite(id='', name=None, band_url=None, short_description=None)

Bases: weboob.capabilities.base.BaseObject

Fetch your favorite bands.
Variables:
  • name – (unicode) Name of favorite band
  • band_url – (unicode) URL of the favorite band
  • short_description – (unicode) Short description of the favorite band
class weboob.capabilities.bands.CapBands

Bases: weboob.capabilities.base.Capability

Capability to get band information on music websites.

get_albums()

Get a band’s discography.

Return type:iter[Albums]
get_favorites()

Get my favorite bands.

Return type:iter[Favorite]
get_info()

Get band info. :param band_id: ID of the band :rtype: BandInfo

Look for a band. :param pattern: pattern to search :type pattern: str :rtype: iter[BandSearch]

suggestions()

Get band suggestions according to your favorite bands.

Return type:iter[Suggestion]