Skip to content

kiliankoe/scribbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scribbler

Quick and dirty scrobbling to the last.fm API. For those moments where you can't scrobble right from your player but don't want to not have the tracks show up in your history.

Getting started

  1. Register for the Last.fm API and create an application.

  2. Install requests through pip

    $ pip install requests
  3. Use scribbler

    from scribbler import *
    
    scribbler = Scribbler(api_key, api_secret)
    scribbler.authenticate()
    # Calling authenticate() will prompt you for a URL to visit
    
    timestamp = int(time.time())
    scribbler.scrobble(timestamp, 'The Glitch Mob', 'We Can Make The World Stop')

Or use run.py for a quick and dirty way of scrobbling a text file of tracks. Be sure to include your api_key and api_secret in a file called secrets.txt.

About

quick and dirty scrobbling to the last.fm api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages