My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

python-audioscrobblerws is a Python interface to the Audioscrobbler webservice API located at http://www.audioscrobbler.net/data/webservices/index.php

Basic Usage

abhinav@xj9-deb:~/code/audioscrobblerws$ python
Python 2.4.5 (#2, Mar 12 2008, 00:15:51) 
[GCC 4.2.3 (Debian 4.2.3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import audioscrobblerws
>>> ws = audioscrobblerws.Webservice()
>>> user = ws.GetUser('abhin4v')
>>> friends = user.friends
>>> friendNames = [f.username for f in friends]
>>> friendNames
['aalaap', 'arjunghosh', 'manatoonie', 'prototypeangel', 'sathyabhat', 'phonegger', 'n9986',
'Brajeshwar', 'holden_X', 'nikunj_nikki_ya', 'skulldugger', 'sumitkumar', 'VanishingNerd',
'aakrosh', 'mysterio86', 'galtofkgp', 'deepcyan', 'irodov', 'Gennousuke', 'rozuur',
'algocracker', 'Sauvik', 'RocktheGod', 'diborane', 'abhijeet1in', 'abhinandan4u', 
'ramonarock', 'marzena6611', 'casinaroyale', 'NOLFxceptMe']
Powered by Google Project Hosting