Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
super simple lastfm chart sync for django
branch: master
Failed to load latest commit information.
.gitignore initial commit
README updating readme
__init__.py initial commit
admin.py added admin.py for admin access
lastfm.py initial commit
models.py initial commit
object_dict.py initial commit
xml2dict.py

README

Lastfm Sync

Super simple last.fm chart syncing for django.

Basically this can import any or all of the following last.fm charts into your database:

weeklyartistchart (top weekly artists), weeklytrackchart (top weekly tracks), weeklyalbumchart (top weekly albums), recenttracks (most recently played tracks) and recentlovedtracks (most recently loved tracks).

Usage:

from lastfm.lastfm import LastfmSyncr
l=LastfmSyncr()
l.syncposts(user='username', chart='weeklyartistchart')
l.syncposts(user='username', chart='weeklytrackchart')
l.syncposts(user='username', chart='weeklyalbumchart')
l.syncposts(user='username', chart='recentlovedtracks')
l.syncposts(user='username', chart='recenttracks')
Something went wrong with that request. Please try again.