2008-12-31 11:00:23 +05:30
|
|
|
#!/usr/bin/env python
|
2009-03-17 20:51:40 +05:30
|
|
|
"""
|
|
|
|
A python interface to the last.fm web services API at
|
|
|
|
U{http://ws.audioscrobbler.com/2.0}.
|
|
|
|
See U{the official documentation<http://www.last.fm/api/intro>}
|
|
|
|
of the web service API methods for more information.
|
|
|
|
"""
|
2008-12-31 11:00:23 +05:30
|
|
|
|
|
|
|
__author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
|
|
|
|
__version__ = "0.2"
|
|
|
|
__license__ = "GNU Lesser General Public License"
|
2009-03-17 20:51:40 +05:30
|
|
|
__package__ = "lastfm"
|
2008-12-31 11:00:23 +05:30
|
|
|
|
|
|
|
import sys
|
|
|
|
import os
|
2009-03-27 11:18:34 +05:30
|
|
|
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
2008-12-31 11:00:23 +05:30
|
|
|
|
|
|
|
from lastfm.album import Album
|
|
|
|
from lastfm.api import Api
|
|
|
|
from lastfm.artist import Artist
|
|
|
|
from lastfm.error import LastfmError
|
|
|
|
from lastfm.event import Event
|
|
|
|
from lastfm.geo import Location, Country
|
|
|
|
from lastfm.group import Group
|
|
|
|
from lastfm.playlist import Playlist
|
2009-04-07 16:44:42 +05:30
|
|
|
from lastfm.util import ObjectCache
|
2008-12-31 11:00:23 +05:30
|
|
|
from lastfm.tag import Tag
|
|
|
|
from lastfm.tasteometer import Tasteometer
|
|
|
|
from lastfm.track import Track
|
|
|
|
from lastfm.user import User
|
2009-01-01 16:34:31 +05:30
|
|
|
from lastfm.venue import Venue
|
2009-03-05 10:02:57 +05:30
|
|
|
from lastfm.shout import Shout
|
2008-12-31 11:00:23 +05:30
|
|
|
|
|
|
|
__all__ = ['LastfmError', 'Api', 'Album', 'Artist', 'Event',
|
|
|
|
'Location', 'Country', 'Group', 'Playlist', 'Tag',
|
2009-01-01 16:34:31 +05:30
|
|
|
'Tasteometer', 'Track', 'User', 'Venue', 'ObjectCache']
|