Core.rq_userlists is a collection of function wrappers around the Discogs API for interacting with the user lists of a given user.
get_userlists(user:Union[UserWithoutAuthentication, UserWithUserTokenBasedAuthentication], username:str, page:Optional[int]=None, per_page:Optional[int]=None)
Get a list of user lists for the given user.
Note: Private Lists will only display when authenticated as the owner.
No user Authentication needed.
Parameters:
user: user object (required)
username: string (required)
-> The username of the owner of the user lists you are trying to fetch.
page: number (optional)
-> The page you want to request.
per_page: number (optional)
-> The number of items per page.
get_userlist(user:Union[UserWithoutAuthentication, UserWithUserTokenBasedAuthentication], list_id:int)
Get a list of items from a specified user list from the given user.
Note: Private Lists will only display when authenticated as the owner.
No user Authentication needed.
Parameters:
user: user object (required)
list_id: number (required)
-> The ID of the List you are trying to fetch.