getVideoDetails: Get details about videos

Description Usage Arguments Source Examples

View source: R/videos.R

Description

Get details about videos

Usage

1

Arguments

id

character. One or more Video IDs.

...

arguments to be passed by the source endpoint parameters.

Source

/videos/{id}

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# get details of a single video:
getVideoDetails(id = "18002566")

# multiple videos by lapply:
lapply(c("18002566", "17139196"), function(v) getVideoDetails(id = v))

# get multiple videos by for loop:
videos <- list()
for (v in c("18002566", "17139196")) {
videos[[v]] <- getVideoDetails(id = v)
}

## End(Not run)

strboul/shutterstock-r documentation built on May 3, 2019, 8:07 p.m.