Game: Game Class

Description Public fields Methods

Description

Game Class

Game Class

Public fields

id
season
week
season_type
start_date
start_time_tbd
neutral_site
conference_game
attendance
venue_id
venue
home_id
home_team
home_conference
home_points
home_line_scores
home_post_win_prob
away_id
away_team
away_conference
away_points
away_line_scores
away_post_win_prob
excitement_index

Methods

Public methods


Method new()

Usage
Game$new(
  id,
  season,
  week,
  season_type,
  start_date,
  start_time_tbd,
  neutral_site,
  conference_game,
  attendance,
  venue_id,
  venue,
  home_id,
  home_team,
  home_conference,
  home_points,
  home_line_scores,
  home_post_win_prob,
  away_id,
  away_team,
  away_conference,
  away_points,
  away_line_scores,
  away_post_win_prob,
  excitement_index
)

Method toJSON()

Usage
Game$toJSON()

Method fromJSON()

Usage
Game$fromJSON(GameJson)

Method toJSONString()

Usage
Game$toJSONString()

Method fromJSONString()

Usage
Game$fromJSONString(GameJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
Game$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


saiemgilani/cfbd-api-R documentation built on Feb. 16, 2021, 12:07 a.m.