mirror of
https://github.com/Decicus/DecAPI-Docs.git
synced 2024-11-25 09:52:29 +01:00
Merge pull request #50 from Decicus/feature/youtube-latest-video-filters
This commit is contained in:
commit
d6e2be445d
@ -12,7 +12,15 @@ endpoints:
|
||||
- name: "format"
|
||||
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."
|
||||
description: "Exclude videos that contain the specified text in the <i>video title</i>. This is case-insensitive. Can be combined with <kbd>include</kbd>."
|
||||
- name: "include"
|
||||
description: "Only include videos that contain the specified text in the <i>video title</i>. This is case-insensitive. Can be combined with <kbd>exclude</kbd>."
|
||||
- name: "no_shorts"
|
||||
type: "bool"
|
||||
description: "Will exclude any videos shorter than 1 minute (60 seconds), also known as 'Shorts'. Set <kbd>no_shorts=1</kbd> to enable this."
|
||||
- name: "no_livestream"
|
||||
type: "bool"
|
||||
description: "Will exclude any currently <i>active</i> livestreams. Stream VODs are generally <i>not affected</i> by this setting, unless it's a recently completed livestream (due to caching). Set <kbd>no_livestream=1</kbd> 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