image_by_name_controller = client.image_by_name
ImageByNameController
- Get General Image
- Get General Images
- Get Media Info Image
- Get Media Info Images
- Get Rating Image
- Get Rating Images
Get General Image.
def get_general_image(self,
name,
mtype)
Parameter | Type | Tags | Description |
---|---|---|---|
name |
string |
Template, Required | The name of the image. |
mtype |
string |
Template, Required | Image Type (primary, backdrop, logo, etc). |
mixed
name = 'name0'
mtype = 'type0'
result = image_by_name_controller.get_general_image(name, mtype)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
404 | Image not found. | ProblemDetailsException |
Get all general images.
def get_general_images(self)
result = image_by_name_controller.get_general_images()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Get media info image.
def get_media_info_image(self,
theme,
name)
Parameter | Type | Tags | Description |
---|---|---|---|
theme |
string |
Template, Required | The theme to get the image from. |
name |
string |
Template, Required | The name of the image. |
mixed
theme = 'theme0'
name = 'name0'
result = image_by_name_controller.get_media_info_image(theme, name)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
404 | Image not found. | ProblemDetailsException |
Get all media info images.
def get_media_info_images(self)
result = image_by_name_controller.get_media_info_images()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
Get rating image.
def get_rating_image(self,
theme,
name)
Parameter | Type | Tags | Description |
---|---|---|---|
theme |
string |
Template, Required | The theme to get the image from. |
name |
string |
Template, Required | The name of the image. |
mixed
theme = 'theme0'
name = 'name0'
result = image_by_name_controller.get_rating_image(theme, name)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
404 | Image not found. | ProblemDetailsException |
Get all general images.
def get_rating_images(self)
result = image_by_name_controller.get_rating_images()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |