Skip to main content

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.

Metadata

Release files for spotylist 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spotylist 0.1.0
File Size Uploaded
spotylist-0.1.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spotylist 0.1.0
File Interpreter ABI Platform
spotylist-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / spotylist-0.1.0.tar.gz

Download URL spotylist-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3a0bd54cc68aa05cdf228be24168593bd7e06a06f616dc4898770db131f6f39d
BLAKE2b-256 checksum
How to use checksums
e370709105c24e56d080442caea50915953d7b7cebc77a097a89fe0087146e17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.3

Release files / spotylist-0.1.0-py3-none-any.whl

Download URL spotylist-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
345d3ef4b0acfa85849d3996a3f8f301e50bafad65191fe187791625eb6b1812
BLAKE2b-256 checksum
How to use checksums
c3dc6a34ceaba9fbc3b8c439aa2bc41acd25d37b5f3b5a84fb02d0e12e680b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page