Definition at line 9 of file video.py.
◆ __init__()
| def pixabay.video.video.__init__ |
( |
|
self, |
|
|
|
data |
|
) |
| |
Init video object.
- Parameters
-
| data | data of video in JSON format |
- Returns
- video obj
Definition at line 14 of file video.py.
◆ download()
| def pixabay.video.video.download |
( |
|
self, |
|
|
|
dst, |
|
|
|
imtype = 'medium' |
|
) |
| |
Download video to file.
- Parameters
-
| dst | location of file to save |
Definition at line 131 of file video.py.
◆ downloadRaw()
| def pixabay.video.video.downloadRaw |
( |
|
self, |
|
|
|
imtype = 'medium' |
|
) |
| |
Download video to varaible.
- Parameters
-
| imtype | type if video (webformat, preview, largevideo) (Default: webformat) |
- Returns
- byte array of video
Definition at line 106 of file video.py.
The documentation for this class was generated from the following file: