Spotify in the Terminal CLI
Project description
Spotify CLI Tool
A command-line interface (CLI) tool for interacting with the Spotify API. Perform various tasks such as searching for artists, listing albums, retrieving tracks, and more directly from your terminal.
Features
- Search for artists by name.
- List albums by artist, including basic and detailed information.
- List tracks from a specific album.
- Search for tracks by name.
- Save album lists to a text file.
Installation
Ensure you have Python 3.6 or higher installed.
Install the CLI tool:
pip install spotylist
Usage
Commands
Search for Artists:
spotylist searchartist "Artist Name"
List Albums (Basic Information):
spotylist albums "Artist Name"
List Albums (Detailed Information):
spotylist albums-all "Artist Name"
List Tracks of an Album:
spotylist tracks "Album Name"
Search for Tracks:
spotylist searchtrack "Track Name"
Save Albums to File:
spotylist albums-save "Artist Name" "filename"
Examples
List albums by Kanye West:
spotylist albums "Kanye West"
Search for tracks named "Stronger":
spotylist searchtrack "Stronger"
Save albums by Kendrick Lamar to a file named kendrick_albums.txt:
spotylist albums-save "Kendrick Lamar" kendrick_albums
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Click - Command line interface creation kit.
- Requests - HTTP library for making requests.
- Tabulate - Pretty-print tabular data.
Contributing
Contributions are welcome! Please feel free to fork the repository and submit pull requests.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for spotylist-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345d3ef4b0acfa85849d3996a3f8f301e50bafad65191fe187791625eb6b1812 |
|
MD5 | 431c7fa81daf875aba8eab5c2f3c95cc |
|
BLAKE2b-256 | c3dc6a34ceaba9fbc3b8c439aa2bc41acd25d37b5f3b5a84fb02d0e12e680b3b |