* New release.

This commit is contained in:
Amr Hassan 2011-03-12 00:00:42 +00:00
parent 43529fa233
commit 45eca0e8e4
2 changed files with 9 additions and 3 deletions

2
.build
View file

@ -1 +1 @@
9 10

View file

@ -1411,10 +1411,16 @@ class Artist(_BaseObject, _Taggable):
return _extract(self._request("artist.getInfo", True), "summary") return _extract(self._request("artist.getInfo", True), "summary")
def get_bio_content(self): def get_bio_content(self, language=None):
"""Returns the content of the artist's biography.""" """Returns the content of the artist's biography."""
return _extract(self._request("artist.getInfo", True), "content") if language:
params = self._get_params()
params["lang"] = language
else:
params = None
return _extract(self._request("artist.getInfo", True, params), "content")
def get_upcoming_events(self): def get_upcoming_events(self):
"""Returns a list of the upcoming Events for this artist.""" """Returns a list of the upcoming Events for this artist."""