AppleTrailersWrapper.Clip module

class AppleTrailersWrapper.Clip.Clip(clip_dict: dict)[source]

Bases: object

get_all_locale()[source]

get all locale

Returns

dict

get_artist()[source]

get artist

Returns

string

get_clip_dict()[source]

get original clip_dict

Returns

dict

get_faded()[source]

get faded

Returns

string

get_kind()[source]

get kind

Returns

string

get_locale(locale: str)[source]

get locale dict by key

Parameters

locale – string

Returns

dict

Raises

Exception

get_posted()[source]

get posted date

Returns

string

get_runtime()[source]

get runtime

Returns

string

get_screenshot()[source]

get screenshot (full url to image)

Returns

string

get_thumbnail()[source]

get thumbnail (full url to image)

Returns

string

get_title()[source]

get title

Returns

stirng

get_version(version)[source]

Gets a version by key

Parameters

version – string

Returns

dict

Raises

Exception

get_versions()[source]

gets list of instances to ClipVersion class

Returns

list of ClipVersion