Description Usage Arguments Details Value Columns See Also Examples
View source: R/firstapiR_main.R
See the Awards Listing section of the FIRST API documentation at http://docs.frcevents2.apiary.io/# for more details.
1 | GetAwardsList(session, mod_since = NULL, only_mod_since = NULL)
|
session |
A Session object created with |
mod_since |
A character vector containing an HTTP formatted date and
time. Returns |
only_mod_since |
A character vector containing an HTTP formatted date and time. This function only returns data that has changed since the date and time provided. Optional. |
The FIRST API URL format is:
https://frc-api.firstinspires.org/v2.0/season/awards/list
Depending on the session$format
value, returns JSON text, an
XML::XMLDocument object, or a data.frame with class set to c("data.frame,
"AwardsList"). Returns a logical vector of length one with value NA
if data is unchanged since date and time passed in arguments
mod_since
or only_mod_since
.
awardId: integer
eventType: character
description: character
forPerson: logical
Refer to Standard_attributes
for data
attributes returned by this function.
1 2 | sn <- GetSession("username", "key", season = 2016)
GetAwardsList(sn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.