Skip to content

zaibandr/lastfmapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Original Author SlitheringFM

A thin but dynamic wrapper around the Last.fm api web service found at http://ws.audioscrobbler.com/2.0/ - Currently, only unauthenticated endpoints are supported. You are still required to provide an API key just not the secret.

Installation is easy.

pip install SlitheringFM

Once that's done, you can do something as simple as...

import SlitheringFM

api = SlitheringFM.LastFmApi('<your api key here>')

api.album_getInfo(artist='Cher', album='Believe')

For methods on the Last.fm api, simply call that method on the api object, substituting '_' where '.' would be.

  • Unlike the master , this will require the requests library. *

Credit

All of the credit of this goes to the original author this was forked from. I only changed a few things in order to have this lib work on python3+

About

My fork of a nice and simple last fm wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%