[PR #849] [CLOSED] Added Spotify.artist_image and Spotify.album_cover_image functions to client.py #1044

Closed
opened 2026-02-28 00:03:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/849
Author: @erie-of-the-lake
Created: 9/2/2022
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 2bb4abf Added Spotify.artist_image and Spotify.album_cover_image functions

📊 Changes

1 file changed (+46 additions, -0 deletions)

View changed files

📝 spotipy/client.py (+46 -0)

📄 Description

Note: Spotify.artist_image and Spotify.album_cover_image return the image as a list instead of a dictionary to stay in line with Spotify.playlist_cover_image, which returns the image as

[
  {
    'height': either_integer_or_None,
    'url': 'https://i.scdn.co/image/.....',
    'width': either_integer_or_None
  }
]

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/849 **Author:** [@erie-of-the-lake](https://github.com/erie-of-the-lake) **Created:** 9/2/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2bb4abf`](https://github.com/spotipy-dev/spotipy/commit/2bb4abf66862bd79f0d5fcf9538ea05fe82149ad) Added `Spotify.artist_image` and `Spotify.album_cover_image` functions ### 📊 Changes **1 file changed** (+46 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `spotipy/client.py` (+46 -0) </details> ### 📄 Description Note: `Spotify.artist_image` and `Spotify.album_cover_image` return the image as a list instead of a dictionary to stay in line with `Spotify.playlist_cover_image`, which returns the image as ```python [ { 'height': either_integer_or_None, 'url': 'https://i.scdn.co/image/.....', 'width': either_integer_or_None } ] ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:03:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#1044
No description provided.