Skip to content

liz/lastfm-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')

About

super simple lastfm chart sync for django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages