suggestions_controller = client.suggestions
SuggestionsController
Gets suggestions.
def get_suggestions(self,
user_id,
media_type=None,
mtype=None,
start_index=None,
limit=None,
enable_total_record_count=False)
Parameter | Type | Tags | Description |
---|---|---|---|
user_id |
uuid|string |
Template, Required | The user id. |
media_type |
List of string |
Query, Optional | The media types. |
mtype |
List of BaseItemKindEnum |
Query, Optional | The type. |
start_index |
int |
Query, Optional | Optional. The start index. |
limit |
int |
Query, Optional | Optional. The limit. |
enable_total_record_count |
bool |
Query, Optional | Whether to enable the total record count. Default: False |
user_id = '000013ec-0000-0000-0000-000000000000'
enable_total_record_count = False
result = suggestions_controller.get_suggestions(user_id, None, None, None, None, enable_total_record_count)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |