movies_controller = client.movies
MoviesController
Gets movie recommendations.
def get_movie_recommendations(self,
user_id=None,
parent_id=None,
fields=None,
category_limit=5,
item_limit=8)
Parameter | Type | Tags | Description |
---|---|---|---|
user_id |
uuid|string |
Query, Optional | Optional. Filter by user id, and attach user data. |
parent_id |
uuid|string |
Query, Optional | Specify this to localize the search to a specific item or folder. Omit to use the root. |
fields |
List of ItemFieldsEnum |
Query, Optional | Optional. The fields to return. |
category_limit |
int |
Query, Optional | The max number of categories to return. Default: 5 |
item_limit |
int |
Query, Optional | The max number of items to return per category. Default: 8 |
category_limit = 5
item_limit = 8
result = movies_controller.get_movie_recommendations(None, None, None, category_limit, item_limit)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |