Learn R Programming

opencastR (version 0.1.3)

oc_api: Query Opencast base api

Description

Returns key characteristics of the API such as the server name and the default version.

Usage

oc_api()

Arguments

Value

A list containing the default api version and server url.

Details

This function expects the hostname, username and password to be set as environment variables.

Examples

Run this code
# NOT RUN {
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

oc_api()
# }

Run the code above in your browser using DataLab