getSessions: Getting server sessions

Description Usage Arguments Value Note Examples

Description

Get the server sessions (including player session log) from the appropriate API endpoint

Usage

1
getSessions(url = getOption("url.general.sessions"))

Arguments

url

Source of the sessions/overview.json API endpoint. Defaults to using the option url.general.sessions, if that is empty, the Wurstmineberg sessions are used.

Value

data.frame with server- and lists of player sessions

Note

Uses the default API location URL unless the appropriate option is set.

Examples

1
2
options(url.general.sessions = "http://api.wurstmineberg.de/server/sessions/overview.json")
sessions <- getSessions()

jemus42/wurstmineR documentation built on May 19, 2019, 4:03 a.m.