getMovieStatus#
- hvpy.getMovieStatus(id, format, verbose=False, callback=None, token=None)[source]#
Get the status of a movie.
- Parameters:
id (
Union
[int
,DataSource
]) – Unique movie identifier, returned as a response by thequeueMovie
endpoint request.format (
str
) – Movie format.verbose (
bool
) – Include extra metadata in the response. Defaults to False, optional.callback (
Optional
[str
]) – Wrap the response object in a function call of your choosing. Default is None (no wrapping), optional.token (
Optional
[str
]) – API token. Defaults to None, optional.
- Return type:
References
Examples
>>> from hvpy import getMovieStatus >>> getMovieStatus(id="h2n6n", format="mp4") {'frameRate': ..., 'numFrames': ..., 'startDate': '...', 'status': ..., 'endDate': '...', 'width': ..., 'height': ..., 'title': '...', 'thumbnails': {'icon': '...', 'small': '...', 'medium': '...', 'large': '...', 'full': '...'}, 'url': '...', 'statusLabel': 'Completed'}