opencastR is a R package that is designed to read information from the external API of an Opencast server.
The easiest way to get opencastR is to install it using the devtools:
install.packages("devtools")
devtools::install_github("ebbertd/opencastR")Every function requires the hostname, username and password to be set as environment variables. For example:
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")
oc_api()