资 源 简 介
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$ pythonPython 2.4.5 (#2, Mar 12 2008, 00:15:51) [GCC 4.2.3 (Debian 4.2.3-2)] on linux2Type "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", "a