Lastui
A command line tool to acces the Last.fm API and its available commands
Installation
Lastui can be installed through crates through the following link
Or by running the following command in your terminal:
Usage
Lastui takes advantage of the public Last.fm API in order to allow you to make actions through the terminal.
Get Started
In order to perform any command in Lastui, you first need to autheticate yourself. You need the following:
- Last.fm account (sign up here)
- Last.fm developer API key (don't worry they're free and you can get them from here)
Once you have the needed information, go to your terminal and type in the following command
You should be prompted to enter your Last.fm API key and then your username.
Once everything works, you are good to go!
Recent Tracks
Use this command if you would like to see your most recent tracks.
Requires the following:
- Last.fm API key
- Last.fm Username (your username)
Usage: Use the following command after authorizing yourself
Expect an output like the following:
> Allergy - i-dle (now playing)
Die with a Smile - Lady Gaga
HOT - LE SSERAFIM
ONE SPARK (Instrumental) - TWICE
Darl+ing - Seventeen
Rich Man - aespa
Smart (Instrumental) - LE SSERAFIM
songs that remind me of you - natalie jinju
Blue Flame - LE SSERAFIM
STYLE - Hearts2Hearts
ABCD (Extended Version) - NAYEON
Search Tracks
Another really useful command is the ability to search songs through the terminal!
To try it out, run the following command:
For example, if I want to search for Feel Special by TWICE then I would run the following command:
This will give me the following output:
)
)
)
)
) ()
)
)
)
) ()
)
Go ahead! Try it out :D