Skip to content

Documentation Updates - Querying a user's collection #67

Answered by JOJ0
prcutler asked this question in General
Discussion options

You must be logged in to vote

Hi, sorry I was wrong, you can pass an id but to the .releases already:

>>> my_client.identity().collection_folders[0].releases[124].release.title
'New Dawn / Cat & Mouse'
>>> 
>>> 
>>> my_client.identity().collection_folders[0].releases[124].release
<Release 11117 'New Dawn / Cat & Mouse'>
>>> 
>>> my_client.identity().collection_folders[0].releases[124].release.id
11117
>>> dir(my_client.identity().collection_folders[0].releases[124].release)
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__redu…

Replies: 7 comments 7 replies

Comment options

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

prcutler Dec 10, 2021
Maintainer Author

Comment options

prcutler
Dec 10, 2021
Maintainer Author

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

JOJ0 Dec 10, 2021
Maintainer

Comment options

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

prcutler Dec 10, 2021
Maintainer Author

@JOJ0
Comment options

JOJ0 Dec 10, 2021
Maintainer

Answer selected by prcutler
Comment options

prcutler
Dec 11, 2021
Maintainer Author

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

JOJ0 Dec 11, 2021
Maintainer

@JOJ0
Comment options

JOJ0 Dec 11, 2021
Maintainer

Comment options

prcutler
Dec 11, 2021
Maintainer Author

You must be logged in to vote
0 replies
Comment options

prcutler
Dec 11, 2021
Maintainer Author

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

Comment options

prcutler
Dec 13, 2021
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants