Python bindings to the API's
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore API for Python

A nascent library for using the 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