Skip to content

Get all releases (singles) for a artist. #149

Answered by prcutler
bornsilly asked this question in Support
Discussion options

You must be logged in to vote

This page in the docs might help: https://python3-discogs-client.readthedocs.io/en/latest/fetching_data_repl.html#artist

You can get a list of releases by page, but I'm not sure how to get just singles. Here's an example from the REPL and the docs, try plugging in a different artist ID and see what happens:

>>> import discogs_client
>>> d = discogs_client.Client('TestREPL/0.1')
>>> artist = d.artist(956139)
>>> artist.releases.page(1)
[<Master 343357 "It Can't Be Forever / Best Of Every Year">, <Release 15939415 'The Way We Love'>, <Master 447055 'Thicker Than Water'>, <Release 22079767 'Footloose - Promo Radio'>, <Release 18991960 'The Normal Heart'>, <Master 90721 'Apollo 13 (Music From…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@JOJ0
Comment options

@JOJ0
Comment options

@bornsilly
Comment options

@bornsilly
Comment options

Answer selected by bornsilly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants