Skip to content

Finding Values #2 #52

Answered by JOJ0
D8bp8Ags asked this question in Support
May 9, 2021 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Hi,

How can i access values that are not predefined in the class Release?

In the json result there are much more values then the Release class return. I read that not all values are mapped but how can i map them myself?

They are already mapped in discogs_client, you just need to dig one object level deeper. The tracklist is a list you can loop through. The track items you'll find there have the properties you are looking for.

Have a look at our brand new documentation pages, PR is not through yet but they are accessible already. Here is exactly what you are looking for: https://python3-discogs-client.readthedocs.io/en/latest/fetching_data.html#release

As said, docs are pretty new. Feedb…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by JOJ0
Comment options

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

JOJ0 May 9, 2021
Maintainer

@JOJ0
Comment options

JOJ0 May 9, 2021
Maintainer

Comment options

You must be logged in to vote
1 reply
@D8bp8Ags
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants