GetServerStatus: Get the status of the FIRST API server

Description Usage Arguments Details Value Columns Attributes Examples

View source: R/firstapiR_main.R

Description

See the API Index section of the FIRST API documentation at http://docs.frcevents2.apiary.io/# for more details.

Usage

1
GetServerStatus(session)

Arguments

session

A Session object created with GetSession().

Details

The FIRST API URL format is:

https://frc-api.firstinspires.org/v2.0

Value

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").

Columns

  1. name: character

  2. version: double

  3. status: character

Attributes

Examples

1
2
sn <- GetSession("username", "key")
status <- GetServerStatus(sn)

irwinsnet/firstapiR documentation built on Dec. 22, 2020, 5:13 p.m.