Python bindings to the last.fm API's
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lastfm
.gitignore
Readme.md

Readme.md

Last.fm API for Python

A nascent library for using the last.fm API from Python. This library is still in development: only one API method (artist.getInfo) is fully implemented. But the example usage should give a good idea of how easy it will be to use this library:

#!/usr/bin/env python

import lastfm

client = lastfm.Client("[your API key]")
diva = client.artists.get('Madonna')

# `diva` is now full of information on Madonna