print.oc_event_publication: Print result of oc_event_publication()

View source: R/oc_event_publication.R

print.oc_event_publicationR Documentation

Print result of oc_event_publication()

Description

Print a structured return of the oc_event_publication() function.

Usage

## S3 method for class 'oc_event_publication'
print(x, ...)

Arguments

x

The return of the function this print function relates to.

...

Possible further options to the print function.

Value

A structured print of the return by the oc_event_publication() function.

See Also

oc_event_publication

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

events <- oc_list_events()
publications <- oc_event_list_publications(events$content$identifier[1])

resp <- oc_event_publication(events$content$identifier[1],
                             publications$content$id[1])

resp

ebbertd/opencastR documentation built on March 23, 2022, 10:11 p.m.