mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #106] Can't access "album object (full)" of a artist #49
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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
albumi callfor album in albums:album = spotify.album(album_id=album["id"])So for every album you need another request, but it works.