opencastR is a R package that is designed to read information from the external API of an Opencast server.

Status

At the moment only the GET functions are implemented.

Installation

The easiest way to get opencastR is to install it using the devtools:

install.packages("devtools")
devtools::install_github("ebbertd/opencastR")

Usage

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()