Skip to content

Getting the Collection Values #54

Answered by alifhughes
Corno1 asked this question in Ideas
Discussion options

You must be logged in to vote

Hey @Corno1, hope you're well. That PR has been merged and released now, so by downloading the latest version of the client you're able to get your own collection value 🙂

This can be used like so:

>>> import discogs_client
>>> d = discogs_client.Client("TestCollectionValue", user_token="...")
>>> me = d.identity()
>>> me.collection_value
<CollectionValue £1,000,000.10>
>>> print(me.collection_value.median, me.collection_value.maximum, me.collection_value.minimum)
£1,000,000.10 £2,000,000.10 £500,000.10
>>>

Remember you have to be authenticated to be able to access your collection value. Going to mark this as answered, please reopen if there is anything I'…

Replies: 2 comments 5 replies

Comment options

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

@alifhughes
Comment options

Comment options

You must be logged in to vote
3 replies
@Corno1
Comment options

@Corno1
Comment options

@alifhughes
Comment options

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