Description Usage Arguments Details Value Columns Attributes Examples
View source: R/firstapiR_main.R
See the API Index section of the FIRST API documentation at http://docs.frcevents2.apiary.io/# for more details.
1 | GetServerStatus(session)
|
session |
A Session object created with |
The FIRST API URL format is:
https://frc-api.firstinspires.org/v2.0
Depending on the session$format
value, returns JSON text, an
XML::XMLDocument object, or a data.frame with class set to
c("data.frame, "Status").
name: character
version: double
status: character
url: Character vector containing URL submitted to FIRST API server.
local_test_data: TRUE
if data was extracted from
R/sysdata.rda file.
local_url: Character vector containing URL used to download local data.
time_downloaded: Character vector containing the local system time that the object was downladed from the FIRST API server. Formatted an an http date and time string.
last_modified: Character vector containing the date and time that the data was last modified by the FIRST API server.
1 2 | sn <- GetSession("username", "key")
status <- GetServerStatus(sn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.