Skip to main content

spotify-codegen

Project description

spotify-codegen

PyPI Status Python Version License

Read the documentation at https://spotify-codegen.readthedocs.io/ Tests Codecov

pre-commit Black

Features

Spotify stopped giving users an easy way to grab the song, artist or album artwork with the respective Spotify Code - spotify-codegen to the rescue!

You can stitch the album | track | artist artwork with the Spotify Code by supplying:

  • URL(s)
  • URI(s)
  • a search query

It's also possible to use create stitches for:

  • all of your saved albums
  • 50 followed artists (limit imposed by Spotify API)

Requirements

To use the Spotify API, you'll have to login using your credentials and create an app. That apps ID and secret need to be specified as environment variables:

$ export SPOTIPY_CLIENT_ID="your_client_id"
$ export SPOTIPY_CLIENT_SECRET="your_client_secret"

You can now use both the CLI and the Python API!

Installation

You can install spotify-codegen via pip from PyPI:

$ pip install spotify-codegen

Usage

Please see the Command-line Reference for details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, spotify-codegen is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

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

spotify_codegen-0.4.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

spotify_codegen-0.4.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file spotify_codegen-0.4.0.tar.gz.

File metadata

  • Download URL: spotify_codegen-0.4.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for spotify_codegen-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2d1480b11f617e26623b9c636ca0a52ec6c7140a0d33b73a257151db87c944d0
MD5 de647be461261a1425b7c7792ca27c65
BLAKE2b-256 2c81690bd76945590cc6f0f348eb42bc733f7a9323c2a2b3e13d767b52f09286

See more details on using hashes here.

File details

Details for the file spotify_codegen-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spotify_codegen-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a17ca4ce09f3a413f865cb225e28461148595c8870dfb351676c49952dbc0b84
MD5 3a51ce08b0bf529c9b529919afc74092
BLAKE2b-256 a687785751faef6e1dbadd577b86e9f17526f3bfe6d9ba3aa11a441e767ee352

See more details on using hashes here.

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