[GH-ISSUE #106] Can't access "album object (full)" of a artist #49

Closed
opened 2026-02-27 23:20:35 +03:00 by kerem · 1 comment
Owner

Originally created by @mymindwentblvnk on GitHub (Jul 8, 2016).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/106

Hello,

I wanted to write a new release notification script and therefor I need to access the "album object (full)" (https://developer.spotify.com/web-api/object-model/#album-object-full) of an artist.

When I load a artists albums via

albumResult = spotify.artist_albums(artistId, album_type="album", country=spotifyMarket, offset=offset)
albums = albumResult["items"]

I only have access to the simplified data. Not the release date of an album. Can somebody help me?

@plamere spotipy is class! Very helpful. Thank you big time.

michael

Originally created by @mymindwentblvnk on GitHub (Jul 8, 2016). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/106 Hello, I wanted to write a new release notification script and therefor I need to access the "album object (full)" (https://developer.spotify.com/web-api/object-model/#album-object-full) of an artist. When I load a artists albums via `albumResult = spotify.artist_albums(artistId, album_type="album", country=spotifyMarket, offset=offset)` `albums = albumResult["items"]` I only have access to the simplified data. Not the release date of an album. Can somebody help me? @plamere spotipy is class! Very helpful. Thank you big time. michael
kerem closed this issue 2026-02-27 23:20:35 +03:00
Author
Owner

@mymindwentblvnk commented on GitHub (Jul 8, 2016):

I found a solution which needs another request:

albumResult = spotify.artist_albums(artistId, album_type="album", country=spotifyMarket, offset=offset)
albums = albumResult["items"]

and for one album out of album i call

for album in albums:
album = spotify.album(album_id=album["id"])

So for every album you need another request, but it works.

<!-- gh-comment-id:231462556 --> @mymindwentblvnk commented on GitHub (Jul 8, 2016): I found a solution which needs another request: `albumResult = spotify.artist_albums(artistId, album_type="album", country=spotifyMarket, offset=offset)` `albums = albumResult["items"]` and for one album out of `album` i call `for album in albums:` `album = spotify.album(album_id=album["id"])` So for every album you need another request, but it works.
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#49
No description provided.