Skip to content

lule345/lastfm-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lastfm-python

A small Last.Fm search client written in python able to executed in terminal; Functions as a way for me to practice Python as beginner

Usage:

  1. pipx install PIP-lastfm-python-lule345
  2. lastfmPython
  3. Configure the local config.json file to include API key (see: https://www.last.fm/api/account/create)
  4. lastfmPython --h

Options/Features:

options:
  -h, --help                                show this help message and exit
  --user, -u [user]                         queries for a given user's info
  --userRecentTracks [user]                 queries for a user's recent tracks
  --userTopTracks [user]                    queries for a user's top tracks, time defaults to overall
  --track, -t [name] [artist]               queries for a given track name and artist; use underscore for spaces
  --toptracks                               queries for the top tracks on lastfm
  --topartists                              queries for the top artists on lastfm
  --album, -a [name] [artist]               queries for a given album name and artist; use underscore for spaces
  --artist [artist]                         queries for a given artist name; use underscore for spaces
  -v, --verbose                             prints API key, HTTP info

screenshot demo of lastfm.py

About

a python terminal application that queries last.fm api reqs

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors