maton youtube search videos

Search for videos, or list your own uploads with –mine

maton youtube search videos [query] [flags]

Options

--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
--duration <string>
Video duration: any, short (<4m), medium (4-20m), long (>20m)
-q, --jq <expression>
Filter JSON output using a jq expression
--json
Output raw JSON
-L, --limit <int> (default 10)
Max results (1-50)
--mine
List the authenticated user's own uploaded videos
--order <string> (default "relevance")
Sort: relevance, date, rating, viewCount, videoCount, title
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--region <string>
Region code (e.g. US, KR, JP)
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton youtube search videos 'go programming'
$ maton youtube search videos 'lo-fi' --duration long --order date
$ maton youtube search videos 'lo-fi' --mine
$ maton youtube search videos --mine --order viewCount --limit 25

See also