The get_status in the python api client does not seem to work as intended. Please fix!
Hello Philh,
Does the error you have look like the following:
apivideo.exceptions.ApiAttributeError: Quality has no attribute 'type' at ['received_data']['encoding']['qualities'][0]['type']
?
Yes, this is the error I get.
Thanks. We are fixing that. Should be ok in less than one hour. Iβll let you know.
1 Like
@philh, we have just released version v0.0.16 which contains a fix for the bug you reported. Sorry for the inconvenience.
1 Like
Thank you for the quick fix.
Is the new version deployed? I am unable to update the package to 0.0.16
Yes itβs deployed on Pypi: api.video Β· PyPI
I seem to have issues installing this 0.016 version. Can you please check?
I just tested on my side I did not encounter any problem. Can you tell us more about it?
(venv) β pip install api.video
Collecting api.video
Downloading api.video-0.0.16.tar.gz (78 kB)
|ββββββββββββββββββββββββββββββββ| 78 kB 5.0 MB/s
Collecting python_dateutil>=2.5.3
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Requirement already satisfied: setuptools>=21.0.0 in ./venv/lib/python3.9/site-packages (from api.video) (57.4.0)
Collecting urllib3>=1.25.3
Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using legacy 'setup.py install' for api.video, since package 'wheel' is not installed.
Installing collected packages: six, urllib3, python-dateutil, api.video
Running setup.py install for api.video ... done
Successfully installed api.video-0.0.16 python-dateutil-2.8.2 six-1.16.0 urllib3-1.26.7
(venv) β cat test.py
import apivideo
from apivideo.apis import VideosApi
api_key = "xxxxx"
with apivideo.AuthenticatedApiClient(api_key) as client:
videos_api = VideosApi(client)
videos = videos_api.list()
print(videos)
(venv) β python test.py
{'data': [{'assets': {'hls':
...