minor changes
This commit is contained in:
parent
b066f934b9
commit
7484aa02ef
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
"""A python interface to the last.fm web services API"""
|
||||
|
||||
__author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
|
||||
__version__ = "0.2"
|
||||
|
@ -22,6 +23,7 @@ from lastfm.tasteometer import Tasteometer
|
|||
from lastfm.track import Track
|
||||
from lastfm.user import User
|
||||
from lastfm.venue import Venue
|
||||
from lastfm.shout import Shout
|
||||
|
||||
__all__ = ['LastfmError', 'Api', 'Album', 'Artist', 'Event',
|
||||
'Location', 'Country', 'Group', 'Playlist', 'Tag',
|
||||
|
|
|
@ -81,5 +81,5 @@ error_map = {
|
|||
12: SubscribersOnlyError,
|
||||
13: InvalidMethodSignatureError,
|
||||
14: TokenNotAuthorizedError,
|
||||
15: TokenExpiredError
|
||||
}
|
||||
15: TokenExpiredError,
|
||||
}
|
|
@ -459,7 +459,7 @@ class Country(LastfmBase, Cacheable):
|
|||
'YT': 'Mayotte',
|
||||
'ZA': 'South Africa',
|
||||
'ZM': 'Zambia',
|
||||
'ZW': 'Zimbabwe'}
|
||||
'ZW': 'Zimbabwe'}
|
||||
def init(self,
|
||||
api,
|
||||
name = None):
|
||||
|
|
|
@ -8,7 +8,7 @@ from lastfm.base import LastfmBase
|
|||
from lastfm.mixins import Cacheable
|
||||
|
||||
class Shout(LastfmBase, Cacheable):
|
||||
""""A class representing a shout."""
|
||||
"""A class representing a shout."""
|
||||
|
||||
def init(self,
|
||||
body = None,
|
||||
|
|
|
@ -9,7 +9,7 @@ from lastfm.mixins import Cacheable, Searchable
|
|||
from lastfm.lazylist import lazylist
|
||||
|
||||
class Tag(LastfmBase, Cacheable, Searchable):
|
||||
""""A class representing a tag."""
|
||||
"""A class representing a tag."""
|
||||
def init(self,
|
||||
api,
|
||||
name = None,
|
||||
|
|
Loading…
Reference in New Issue