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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spotylist-0.1.0.tar.gz.
File metadata
- Download URL: spotylist-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a0bd54cc68aa05cdf228be24168593bd7e06a06f616dc4898770db131f6f39d
|
|
| MD5 |
7d39e9bdd8c7121c88284f2b4b1f2817
|
|
| BLAKE2b-256 |
e370709105c24e56d080442caea50915953d7b7cebc77a097a89fe0087146e17
|
File details
Details for the file spotylist-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spotylist-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
345d3ef4b0acfa85849d3996a3f8f301e50bafad65191fe187791625eb6b1812
|
|
| MD5 |
431c7fa81daf875aba8eab5c2f3c95cc
|
|
| BLAKE2b-256 |
c3dc6a34ceaba9fbc3b8c439aa2bc41acd25d37b5f3b5a84fb02d0e12e680b3b
|