* New release.

This commit is contained in:
Amr Hassan 2011-03-12 14:32:06 +00:00
parent 45eca0e8e4
commit 6508bc132a
2 changed files with 9 additions and 3 deletions

2
.build
View file

@ -1 +1 @@
10
11

View file

@ -1406,10 +1406,16 @@ class Artist(_BaseObject, _Taggable):
return _extract(self._request("artist.getInfo", True), "published")
def get_bio_summary(self):
def get_bio_summary(self, language=None):
"""Returns the summary of the artist's biography."""
return _extract(self._request("artist.getInfo", True), "summary")
if language:
params = self._get_params()
params["lang"] = language
else:
params = None
return _extract(self._request("artist.getInfo", True, params), "summary")
def get_bio_content(self, language=None):
"""Returns the content of the artist's biography."""