Class UserListsApi
java.lang.Object
com.amilesend.discogs.api.ApiBase
com.amilesend.discogs.api.UserListsApi
-
Constructor Summary
ConstructorsConstructorDescriptionUserListsApi(DiscogsConnection connection) Creates a newUserWantListApiobject. -
Method Summary
Modifier and TypeMethodDescriptiongetUserList(@NonNull GetUserListRequest request) Gets a user's list.getUserLists(@NonNull GetUserListsRequest request) Gets the list of user-defined lists for a user.Methods inherited from class ApiBase
getConnection
-
Constructor Details
-
UserListsApi
Creates a newUserWantListApiobject.- Parameters:
connection- the underlying client connection
-
-
Method Details
-
getUserLists
Gets the list of user-defined lists for a user. Note: If authenticated as the owner, then private lists will also be returned.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
getUserList
Gets a user's list. Note: Must be authenticated as the owner if retrieving a private list.- Parameters:
request- the request- Returns:
- the response
- See Also:
-