yt.GetSearch: Underlying GET Function for Search

Description Usage Arguments

View source: R/ytSearch.R

Description

This function is used by yt.Search in the ytcol package to call the API to get videos related to a search term.

Usage

1
2
yt.GetSearch(term = term, max_results = max_results,
  published_after = NULL, published_before = NULL, type = "video", ...)

Arguments

term

Character. Search term. Required. No default.

max_results

Integer. Maximum number of items returned. Can be between 1 and 50. Default is 50.

published_after

Date. Optional. RFC 339 Format. Example, "1970-01-01T00:00:00Z"

published_before

Date. Optional. RFC 339 Format. Example, "1970-01-01T00:00:00Z"

type

Character. Optional. Takes one of three values: 'video', 'channel', 'playlist'. Default is 'video'.


Vintonm49/ytcol documentation built on May 27, 2019, 7:42 a.m.