pyLast

A Python interface to the Last.fm API 2.0
Download

pyLast Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Amr Hassan
  • Publisher web site:
  • http://code.google.com/u/amr.hassan/

pyLast Tags


pyLast Description

A Python interface to the Last.fm API 2.0 pyLast is a Python interface to the Last.fm API 2.0pyLast in actionSee Authentication about getting a hold of API_KEY, API_SECRET, and SESSION_KEYfrom pylast import *artist = Artist('Coldplay', API_KEY, API_SECRET, SESSION_KEY)artist.addTags('alternative', 'rock', 'favorite', 'pop')artist.removeTags('pop')for another_artist in artist.getSimilar(): another_artist.share(('friend@zemail.net', 'my_friend_ginny'), 'Hey, check those similar artists') another_artist.addTags('similar to coldplay')for track in artist.getTopTracks(): track.love() track.addTags('my favorite coldplay', 'alternative rock') Here are some key features of "pyLast": · Simple public interface · Silent exception handling · Internal support for asynchronous operations Requirements: · Python


pyLast Related Software