Name | Type | Description | Notes |
---|---|---|---|
id | int | ||
source_id | str | ||
game_id | int | ||
game_source_id | str | ||
game_start_date | datetime | ||
season | float | ||
season_type | SeasonType | ||
game_type | str | ||
tournament | str | ||
play_type | str | ||
is_home_team | bool | ||
team_id | int | ||
team | str | ||
conference | str | ||
team_seed | float | ||
opponent_id | int | ||
opponent | str | ||
opponent_conference | str | ||
opponent_seed | float | ||
period | int | ||
clock | str | ||
seconds_remaining | int | ||
home_score | int | ||
away_score | int | ||
home_win_probability | float | ||
scoring_play | bool | ||
shooting_play | bool | ||
score_value | float | ||
wallclock | datetime | ||
play_text | str | ||
participants | List[PlayInfoParticipantsInner] | ||
on_floor | List[PlayInfoOnFloorInner] | ||
shot_info | ShotInfo |
from cbbd.models.play_info import PlayInfo
# TODO update the JSON string below
json = "{}"
# create an instance of PlayInfo from a JSON string
play_info_instance = PlayInfo.from_json(json)
# print the JSON string representation of the object
print PlayInfo.to_json()
# convert the object into a dict
play_info_dict = play_info_instance.to_dict()
# create an instance of PlayInfo from a dict
play_info_from_dict = PlayInfo.from_dict(play_info_dict)