Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotylist-0.1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

spotylist-0.1.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page