mirror of
https://github.com/Decicus/DecAPI-Docs.git
synced 2024-11-22 08:52:31 +01:00
[YouTube] Latest video - Add documentation for no_shorts
and no_livestream
This commit is contained in:
parent
9b52c058bb
commit
5dca68ad12
@ -13,6 +13,12 @@ endpoints:
|
||||
description: "Customize the output format of the latest video. Available variables are: <code>{title}</code>, <code>{id}</code>, <code>{url}</code>. Default format is: <kbd>{title} - {url}</kbd>"
|
||||
- name: "exclude"
|
||||
description: "Exclude videos that contain the specified text in the <i>video title</i>. This is case-insensitive."
|
||||
- name: "no_shorts"
|
||||
type: "bool"
|
||||
description: "Will exclude any videos shorter than 1 minute (60 seconds), also known as 'Shorts'. Set <code>no_shorts=1</code> to enable this."
|
||||
- name: "no_livestream"
|
||||
type: "bool"
|
||||
description: "Will exclude any currently <i>active</i> livestreams. Stream VODs are <i>not</i> by this setting. Set <code>no_livestream=1</code> to enable this."
|
||||
notes:
|
||||
- 'Retrieves the latest video uploaded to the specified channel and returns the title + URL for it.'
|
||||
- 'Either <code>user</code> or <code>id</code> has to be specified. If both are specified, <code>id</code> will be used.'
|
||||
|
Loading…
Reference in New Issue
Block a user