require_relative '../config/environment.rb'

games = [
  {
    "id": 401112122,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-08-31T02:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 31681,
    "venue_id": 3893,
    "venue": "Reser Stadium",
    "home_id": 204,
    "home_team": "Oregon State",
    "home_conference": "Pac-12",
    "home_points": 36,
    "home_line_scores": [
      10,
      6,
      7,
      13
    ],
    "home_post_win_prob": "0.030836745674682583",
    "away_id": 197,
    "away_team": "Oklahoma State",
    "away_conference": "Big 12",
    "away_points": 52,
    "away_line_scores": [
      7,
      24,
      14,
      7
    ],
    "away_post_win_prob": "0.9691632543253175",
    "excitement_index": "2.5128900036"
  },
  {
    "id": 401112096,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-08-31T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 32611,
    "venue_id": 3833,
    "venue": "Memorial Stadium",
    "home_id": 2305,
    "home_team": "Kansas",
    "home_conference": "Big 12",
    "home_points": 24,
    "home_line_scores": [
      7,
      3,
      6,
      8
    ],
    "home_post_win_prob": "0.9960275082819783",
    "away_id": 282,
    "away_team": "Indiana State",
    "away_conference": null,
    "away_points": 17,
    "away_line_scores": [
      0,
      3,
      0,
      14
    ],
    "away_post_win_prob": "0.00397249171802172",
    "excitement_index": "5.21125589319999"
  },
  {
    "id": 401112085,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-08-31T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 61500,
    "venue_id": 3772,
    "venue": "Jack Trice Stadium",
    "home_id": 66,
    "home_team": "Iowa State",
    "home_conference": "Big 12",
    "home_points": 29,
    "home_line_scores": [
      3,
      0,
      7,
      3,
      3,
      7,
      6
    ],
    "home_post_win_prob": "0.9864726192654548",
    "away_id": 2460,
    "away_team": "Northern Iowa",
    "away_conference": null,
    "away_points": 26,
    "away_line_scores": [
      0,
      0,
      13,
      0,
      3,
      7,
      3
    ],
    "away_post_win_prob": "0.01352738073454518",
    "excitement_index": "8.31073115079999"
  },
  {
    "id": 401112143,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-08-31T18:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 61891,
    "venue_id": 3842,
    "venue": "Mountaineer Field at Milan Puskar Stadium",
    "home_id": 277,
    "home_team": "West Virginia",
    "home_conference": "Big 12",
    "home_points": 20,
    "home_line_scores": [
      0,
      3,
      7,
      10
    ],
    "home_post_win_prob": "0.8127434292325724",
    "away_id": 256,
    "away_team": "James Madison",
    "away_conference": null,
    "away_points": 13,
    "away_line_scores": [
      7,
      0,
      3,
      3
    ],
    "away_post_win_prob": "0.18725657076742763",
    "excitement_index": "7.09940618379999"
  },
  {
    "id": 401112139,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-08-31T20:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 54183,
    "venue_id": 3784,
    "venue": "Jones AT&T Stadium",
    "home_id": 2641,
    "home_team": "Texas Tech",
    "home_conference": "Big 12",
    "home_points": 45,
    "home_line_scores": [
      14,
      14,
      3,
      14
    ],
    "home_post_win_prob": "0.9995738010168264",
    "away_id": 147,
    "away_team": "Montana State",
    "away_conference": null,
    "away_points": 10,
    "away_line_scores": [
      0,
      7,
      0,
      3
    ],
    "away_post_win_prob": "0.00042619898317364235",
    "excitement_index": "0.2871722958"
  },
  {
    "id": 401112106,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-08-31T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 51189,
    "venue_id": 3636,
    "venue": "Bill Snyder Family Football Stadium",
    "home_id": 2306,
    "home_team": "Kansas State",
    "home_conference": "Big 12",
    "home_points": 49,
    "home_line_scores": [
      14,
      14,
      0,
      21
    ],
    "home_post_win_prob": "0.9981998644286053",
    "away_id": 2447,
    "away_team": "Nicholls",
    "away_conference": null,
    "away_points": 14,
    "away_line_scores": [
      0,
      0,
      7,
      7
    ],
    "away_post_win_prob": "0.0018001355713946898",
    "excitement_index": "0.438959897299999"
  },
  {
    "id": 401112073,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-08-31T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 43013,
    "venue_id": 4727,
    "venue": "McLane Stadium",
    "home_id": 239,
    "home_team": "Baylor",
    "home_conference": "Big 12",
    "home_points": 56,
    "home_line_scores": [
      14,
      21,
      14,
      7
    ],
    "home_post_win_prob": "0.9995363386687482",
    "away_id": 2617,
    "away_team": "Stephen F. Austin",
    "away_conference": null,
    "away_points": 17,
    "away_line_scores": [
      7,
      0,
      0,
      10
    ],
    "away_post_win_prob": "0.00046366133125175235",
    "excitement_index": "0.0550861837000009"
  },
  {
    "id": 401112135,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-09-01T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 93418,
    "venue_id": 3910,
    "venue": "Darrell K Royal-Texas Memorial Stadium",
    "home_id": 251,
    "home_team": "Texas",
    "home_conference": "Big 12",
    "home_points": 45,
    "home_line_scores": [
      7,
      17,
      14,
      7
    ],
    "home_post_win_prob": "0.9998579592185066",
    "away_id": 2348,
    "away_team": "Louisiana Tech",
    "away_conference": "Conference USA",
    "away_points": 14,
    "away_line_scores": [
      0,
      0,
      0,
      14
    ],
    "away_post_win_prob": "0.00014204078149337995",
    "excitement_index": "0.738717734799999"
  },
  {
    "id": 401112129,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-09-01T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 40422,
    "venue_id": 3616,
    "venue": "Amon G. Carter Stadium",
    "home_id": 2628,
    "home_team": "TCU",
    "home_conference": "Big 12",
    "home_points": 39,
    "home_line_scores": [
      10,
      6,
      13,
      10
    ],
    "home_post_win_prob": "0.9991826952113394",
    "away_id": 2029,
    "away_team": "Arkansas-Pine Bluff",
    "away_conference": null,
    "away_points": 7,
    "away_line_scores": [
      0,
      0,
      7,
      0
    ],
    "away_post_win_prob": "0.0008173047886606",
    "excitement_index": "0.0569480131999999"
  },
  {
    "id": 401112114,
    "season": 2019,
    "week": 1,
    "season_type": "regular",
    "start_date": "2019-09-01T23:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 84534,
    "venue_id": 3835,
    "venue": "Gaylord Family Oklahoma Memorial Stadium",
    "home_id": 201,
    "home_team": "Oklahoma",
    "home_conference": "Big 12",
    "home_points": 49,
    "home_line_scores": [
      7,
      14,
      21,
      7
    ],
    "home_post_win_prob": "0.9985441242256733",
    "away_id": 248,
    "away_team": "Houston",
    "away_conference": "American Athletic",
    "away_points": 31,
    "away_line_scores": [
      0,
      10,
      7,
      14
    ],
    "away_post_win_prob": "0.0014558757743267092",
    "excitement_index": "0.820205975199998"
  },
  {
    "id": 401110781,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-07T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 51215,
    "venue_id": 3838,
    "venue": "Faurot Field",
    "home_id": 142,
    "home_team": "Missouri",
    "home_conference": "SEC",
    "home_points": 38,
    "home_line_scores": [
      10,
      21,
      0,
      7
    ],
    "home_post_win_prob": "0.9999894187760879",
    "away_id": 277,
    "away_team": "West Virginia",
    "away_conference": "Big 12",
    "away_points": 7,
    "away_line_scores": [
      0,
      0,
      0,
      7
    ],
    "away_post_win_prob": "0.000010581223912065063",
    "excitement_index": "1.09804057329999"
  },
  {
    "id": 401112107,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-07T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 46075,
    "venue_id": 3636,
    "venue": "Bill Snyder Family Football Stadium",
    "home_id": 2306,
    "home_team": "Kansas State",
    "home_conference": "Big 12",
    "home_points": 52,
    "home_line_scores": [
      17,
      21,
      7,
      7
    ],
    "home_post_win_prob": "0.9999954937888929",
    "away_id": 189,
    "away_team": "Bowling Green",
    "away_conference": "Mid-American",
    "away_points": 0,
    "away_line_scores": [
      0,
      0,
      0,
      0
    ],
    "away_post_win_prob": "0.000004506211107146996",
    "excitement_index": "0.2217148635"
  },
  {
    "id": 401112074,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-07T20:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 40274,
    "venue_id": 4727,
    "venue": "McLane Stadium",
    "home_id": 239,
    "home_team": "Baylor",
    "home_conference": "Big 12",
    "home_points": 63,
    "home_line_scores": [
      14,
      21,
      14,
      14
    ],
    "home_post_win_prob": "0.9999264900124466",
    "away_id": 2636,
    "away_team": "UT San Antonio",
    "away_conference": "Conference USA",
    "away_points": 14,
    "away_line_scores": [
      0,
      0,
      7,
      7
    ],
    "away_post_win_prob": "0.00007350998755339955",
    "excitement_index": "0.392779517899999"
  },
  {
    "id": 401112123,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-07T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 55509,
    "venue_id": 3646,
    "venue": "Boone Pickens Stadium",
    "home_id": 197,
    "home_team": "Oklahoma State",
    "home_conference": "Big 12",
    "home_points": 56,
    "home_line_scores": [
      14,
      14,
      28,
      0
    ],
    "home_post_win_prob": "0.9999944393976515",
    "away_id": 2377,
    "away_team": "McNeese",
    "away_conference": null,
    "away_points": 14,
    "away_line_scores": [
      0,
      0,
      7,
      7
    ],
    "away_post_win_prob": "0.0000055606023484644496",
    "excitement_index": "0.0551520321000004"
  },
  {
    "id": 401112097,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-07T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 33493,
    "venue_id": 3833,
    "venue": "Memorial Stadium",
    "home_id": 2305,
    "home_team": "Kansas",
    "home_conference": "Big 12",
    "home_points": 7,
    "home_line_scores": [
      7,
      0,
      0,
      0
    ],
    "home_post_win_prob": "0.07978822213141616",
    "away_id": 324,
    "away_team": "Coastal Carolina",
    "away_conference": "Sun Belt",
    "away_points": 12,
    "away_line_scores": [
      0,
      6,
      6,
      0
    ],
    "away_post_win_prob": "0.9202117778685839",
    "excitement_index": "5.3557876941"
  },
  {
    "id": 401112115,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-07T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 82181,
    "venue_id": 3835,
    "venue": "Gaylord Family Oklahoma Memorial Stadium",
    "home_id": 201,
    "home_team": "Oklahoma",
    "home_conference": "Big 12",
    "home_points": 70,
    "home_line_scores": [
      14,
      14,
      28,
      14
    ],
    "home_post_win_prob": "0.9999914406185144",
    "away_id": 233,
    "away_team": "South Dakota",
    "away_conference": null,
    "away_points": 14,
    "away_line_scores": [
      0,
      0,
      14,
      0
    ],
    "away_post_win_prob": "0.000008559381485584439",
    "excitement_index": "0.0477983992000006"
  },
  {
    "id": 401110778,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-07T23:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 98763,
    "venue_id": 3910,
    "venue": "Darrell K Royal-Texas Memorial Stadium",
    "home_id": 251,
    "home_team": "Texas",
    "home_conference": "Big 12",
    "home_points": 38,
    "home_line_scores": [
      0,
      7,
      14,
      17
    ],
    "home_post_win_prob": "0.061874782766998676",
    "away_id": 99,
    "away_team": "LSU",
    "away_conference": "SEC",
    "away_points": 45,
    "away_line_scores": [
      3,
      17,
      3,
      22
    ],
    "away_post_win_prob": "0.9381252172330014",
    "excitement_index": "5.09854529909999"
  },
  {
    "id": 401112140,
    "season": 2019,
    "week": 2,
    "season_type": "regular",
    "start_date": "2019-09-08T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 56957,
    "venue_id": 3784,
    "venue": "Jones AT&T Stadium",
    "home_id": 2641,
    "home_team": "Texas Tech",
    "home_conference": "Big 12",
    "home_points": 38,
    "home_line_scores": [
      7,
      14,
      10,
      7
    ],
    "home_post_win_prob": "0.9999603789133682",
    "away_id": 2638,
    "away_team": "UTEP",
    "away_conference": "Conference USA",
    "away_points": 3,
    "away_line_scores": [
      0,
      0,
      0,
      3
    ],
    "away_post_win_prob": "0.00003962108663180253",
    "excitement_index": "0.239048441799999"
  },
  {
    "id": 401112098,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-13T23:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 32848,
    "venue_id": 3615,
    "venue": "Alumni Stadium",
    "home_id": 103,
    "home_team": "Boston College",
    "home_conference": "ACC",
    "home_points": 24,
    "home_line_scores": [
      17,
      7,
      0,
      0
    ],
    "home_post_win_prob": "0.006032532180103082",
    "away_id": 2305,
    "away_team": "Kansas",
    "away_conference": "Big 12",
    "away_points": 48,
    "away_line_scores": [
      7,
      21,
      13,
      7
    ],
    "away_post_win_prob": "0.9939674678198969",
    "excitement_index": "3.3195390474"
  },
  {
    "id": 401110792,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-14T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 54522,
    "venue_id": 3693,
    "venue": "Davis Wade Stadium",
    "home_id": 344,
    "home_team": "Mississippi State",
    "home_conference": "SEC",
    "home_points": 24,
    "home_line_scores": [
      0,
      14,
      7,
      3
    ],
    "home_post_win_prob": "0.5240458420042516",
    "away_id": 2306,
    "away_team": "Kansas State",
    "away_conference": "Big 12",
    "away_points": 31,
    "away_line_scores": [
      3,
      14,
      0,
      14
    ],
    "away_post_win_prob": "0.47595415799574836",
    "excitement_index": "7.9125235237"
  },
  {
    "id": 401112144,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-14T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 57052,
    "venue_id": 3842,
    "venue": "Mountaineer Field at Milan Puskar Stadium",
    "home_id": 277,
    "home_team": "West Virginia",
    "home_conference": "Big 12",
    "home_points": 44,
    "home_line_scores": [
      14,
      7,
      10,
      13
    ],
    "home_post_win_prob": "0.9977530433597113",
    "away_id": 152,
    "away_team": "NC State",
    "away_conference": "ACC",
    "away_points": 27,
    "away_line_scores": [
      7,
      14,
      6,
      0
    ],
    "away_post_win_prob": "0.002246956640288733",
    "excitement_index": "5.74519081819999"
  },
  {
    "id": 401112124,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-14T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 28612,
    "venue_id": 3674,
    "venue": "Skelly Field at H. A. Chapman Stadium",
    "home_id": 202,
    "home_team": "Tulsa",
    "home_conference": "American Athletic",
    "home_points": 21,
    "home_line_scores": [
      7,
      14,
      0,
      0
    ],
    "home_post_win_prob": "0.008514646522080898",
    "away_id": 197,
    "away_team": "Oklahoma State",
    "away_conference": "Big 12",
    "away_points": 40,
    "away_line_scores": [
      17,
      3,
      13,
      7
    ],
    "away_post_win_prob": "0.9914853534779191",
    "excitement_index": "3.8270928409"
  },
  {
    "id": 401112086,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-14T20:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 61500,
    "venue_id": 3772,
    "venue": "Jack Trice Stadium",
    "home_id": 66,
    "home_team": "Iowa State",
    "home_conference": "Big 12",
    "home_points": 17,
    "home_line_scores": [
      7,
      0,
      7,
      3
    ],
    "home_post_win_prob": "0.8414265397958927",
    "away_id": 2294,
    "away_team": "Iowa",
    "away_conference": "Big Ten",
    "away_points": 18,
    "away_line_scores": [
      3,
      3,
      3,
      9
    ],
    "away_post_win_prob": "0.15857346020410734",
    "excitement_index": "7.91811564559999"
  },
  {
    "id": 401112130,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-14T23:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 60037,
    "venue_id": 3907,
    "venue": "Ross-Ade Stadium",
    "home_id": 2509,
    "home_team": "Purdue",
    "home_conference": "Big Ten",
    "home_points": 13,
    "home_line_scores": [
      3,
      3,
      0,
      7
    ],
    "home_post_win_prob": "0.004537927304364528",
    "away_id": 2628,
    "away_team": "TCU",
    "away_conference": "Big 12",
    "away_points": 34,
    "away_line_scores": [
      10,
      3,
      14,
      7
    ],
    "away_post_win_prob": "0.9954620726956355",
    "excitement_index": "4.0233766356"
  },
  {
    "id": 401112116,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-15T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 52578,
    "venue_id": 1056,
    "venue": "Rose Bowl",
    "home_id": 26,
    "home_team": "UCLA",
    "home_conference": "Pac-12",
    "home_points": 14,
    "home_line_scores": [
      0,
      7,
      7,
      0
    ],
    "home_post_win_prob": "0.0038690750425454247",
    "away_id": 201,
    "away_team": "Oklahoma",
    "away_conference": "Big 12",
    "away_points": 48,
    "away_line_scores": [
      17,
      17,
      7,
      7
    ],
    "away_post_win_prob": "0.9961309249574546",
    "excitement_index": "0.7052660762"
  },
  {
    "id": 401112136,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-15T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": true,
    "conference_game": false,
    "attendance": 42417,
    "venue_id": 3891,
    "venue": "NRG Stadium",
    "home_id": 242,
    "home_team": "Rice",
    "home_conference": "Conference USA",
    "home_points": 13,
    "home_line_scores": [
      0,
      0,
      0,
      13
    ],
    "home_post_win_prob": "0.0056527764296213185",
    "away_id": 251,
    "away_team": "Texas",
    "away_conference": "Big 12",
    "away_points": 48,
    "away_line_scores": [
      14,
      17,
      7,
      10
    ],
    "away_post_win_prob": "0.9943472235703786",
    "excitement_index": "0.229315235599999"
  },
  {
    "id": 401112141,
    "season": 2019,
    "week": 3,
    "season_type": "regular",
    "start_date": "2019-09-15T02:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 37307,
    "venue_id": 3619,
    "venue": "Arizona Stadium",
    "home_id": 12,
    "home_team": "Arizona",
    "home_conference": "Pac-12",
    "home_points": 28,
    "home_line_scores": [
      0,
      13,
      0,
      15
    ],
    "home_post_win_prob": "0.9888062718184258",
    "away_id": 2641,
    "away_team": "Texas Tech",
    "away_conference": "Big 12",
    "away_points": 14,
    "away_line_scores": [
      7,
      0,
      7,
      0
    ],
    "away_post_win_prob": "0.011193728181574158",
    "excitement_index": "7.32945220909999"
  },
  {
    "id": 401112087,
    "season": 2019,
    "week": 4,
    "season_type": "regular",
    "start_date": "2019-09-21T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 57442,
    "venue_id": 3772,
    "venue": "Jack Trice Stadium",
    "home_id": 66,
    "home_team": "Iowa State",
    "home_conference": "Big 12",
    "home_points": 72,
    "home_line_scores": [
      14,
      13,
      21,
      24
    ],
    "home_post_win_prob": "0.9999567963057802",
    "away_id": 2433,
    "away_team": "Louisiana Monroe",
    "away_conference": "Sun Belt",
    "away_points": 20,
    "away_line_scores": [
      0,
      13,
      7,
      0
    ],
    "away_post_win_prob": "0.00004320369421983994",
    "excitement_index": "1.4907982031"
  },
  {
    "id": 401112131,
    "season": 2019,
    "week": 4,
    "season_type": "regular",
    "start_date": "2019-09-21T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 41250,
    "venue_id": 3616,
    "venue": "Amon G. Carter Stadium",
    "home_id": 2628,
    "home_team": "TCU",
    "home_conference": "Big 12",
    "home_points": 38,
    "home_line_scores": [
      7,
      10,
      7,
      14
    ],
    "home_post_win_prob": "0.5174841569794603",
    "away_id": 2567,
    "away_team": "SMU",
    "away_conference": "American Athletic",
    "away_points": 41,
    "away_line_scores": [
      18,
      13,
      0,
      10
    ],
    "away_post_win_prob": "0.48251584302053974",
    "excitement_index": "6.7994987519"
  },
  {
    "id": 401112099,
    "season": 2019,
    "week": 4,
    "season_type": "regular",
    "start_date": "2019-09-21T20:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 35816,
    "venue_id": 3833,
    "venue": "Memorial Stadium",
    "home_id": 2305,
    "home_team": "Kansas",
    "home_conference": "Big 12",
    "home_points": 24,
    "home_line_scores": [
      0,
      7,
      10,
      7
    ],
    "home_post_win_prob": "0.6746557390635914",
    "away_id": 277,
    "away_team": "West Virginia",
    "away_conference": "Big 12",
    "away_points": 29,
    "away_line_scores": [
      7,
      3,
      10,
      9
    ],
    "away_post_win_prob": "0.32534426093640856",
    "excitement_index": "5.4239055287"
  },
  {
    "id": 401112075,
    "season": 2019,
    "week": 4,
    "season_type": "regular",
    "start_date": "2019-09-21T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": false,
    "attendance": 20198,
    "venue_id": 3895,
    "venue": "Rice Stadium",
    "home_id": 242,
    "home_team": "Rice",
    "home_conference": "Conference USA",
    "home_points": 13,
    "home_line_scores": [
      0,
      3,
      3,
      7
    ],
    "home_post_win_prob": "0.022641057754504715",
    "away_id": 239,
    "away_team": "Baylor",
    "away_conference": "Big 12",
    "away_points": 21,
    "away_line_scores": [
      7,
      14,
      0,
      0
    ],
    "away_post_win_prob": "0.9773589422454952",
    "excitement_index": "1.4159310842"
  },
  {
    "id": 401112125,
    "season": 2019,
    "week": 4,
    "season_type": "regular",
    "start_date": "2019-09-21T23:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 96936,
    "venue_id": 3910,
    "venue": "Darrell K Royal-Texas Memorial Stadium",
    "home_id": 251,
    "home_team": "Texas",
    "home_conference": "Big 12",
    "home_points": 36,
    "home_line_scores": [
      0,
      21,
      7,
      8
    ],
    "home_post_win_prob": "0.8640666786853498",
    "away_id": 197,
    "away_team": "Oklahoma State",
    "away_conference": "Big 12",
    "away_points": 30,
    "away_line_scores": [
      3,
      17,
      3,
      7
    ],
    "away_post_win_prob": "0.1359333213146502",
    "excitement_index": "5.2489351815"
  },
  {
    "id": 401112100,
    "season": 2019,
    "week": 5,
    "season_type": "regular",
    "start_date": "2019-09-28T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 41960,
    "venue_id": 3616,
    "venue": "Amon G. Carter Stadium",
    "home_id": 2628,
    "home_team": "TCU",
    "home_conference": "Big 12",
    "home_points": 51,
    "home_line_scores": [
      21,
      17,
      0,
      13
    ],
    "home_post_win_prob": "0.9999639691016247",
    "away_id": 2305,
    "away_team": "Kansas",
    "away_conference": "Big 12",
    "away_points": 14,
    "away_line_scores": [
      0,
      0,
      0,
      14
    ],
    "away_post_win_prob": "0.000036030898375338793",
    "excitement_index": "0.5763374327"
  },
  {
    "id": 401112117,
    "season": 2019,
    "week": 5,
    "season_type": "regular",
    "start_date": "2019-09-28T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 84416,
    "venue_id": 3835,
    "venue": "Gaylord Family Oklahoma Memorial Stadium",
    "home_id": 201,
    "home_team": "Oklahoma",
    "home_conference": "Big 12",
    "home_points": 55,
    "home_line_scores": [
      17,
      17,
      14,
      7
    ],
    "home_post_win_prob": "0.9999688060441577",
    "away_id": 2641,
    "away_team": "Texas Tech",
    "away_conference": "Big 12",
    "away_points": 16,
    "away_line_scores": [
      0,
      10,
      6,
      0
    ],
    "away_post_win_prob": "0.00003119395584227913",
    "excitement_index": "0.4136393925"
  },
  {
    "id": 401112076,
    "season": 2019,
    "week": 5,
    "season_type": "regular",
    "start_date": "2019-09-28T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 42359,
    "venue_id": 4727,
    "venue": "McLane Stadium",
    "home_id": 239,
    "home_team": "Baylor",
    "home_conference": "Big 12",
    "home_points": 23,
    "home_line_scores": [
      0,
      7,
      13,
      3
    ],
    "home_post_win_prob": "0.5994803537971419",
    "away_id": 66,
    "away_team": "Iowa State",
    "away_conference": "Big 12",
    "away_points": 21,
    "away_line_scores": [
      0,
      0,
      0,
      21
    ],
    "away_post_win_prob": "0.40051964620285807",
    "excitement_index": "7.34354699009999"
  },
  {
    "id": 401112108,
    "season": 2019,
    "week": 5,
    "season_type": "regular",
    "start_date": "2019-09-28T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 55509,
    "venue_id": 3646,
    "venue": "Boone Pickens Stadium",
    "home_id": 197,
    "home_team": "Oklahoma State",
    "home_conference": "Big 12",
    "home_points": 26,
    "home_line_scores": [
      10,
      6,
      7,
      3
    ],
    "home_post_win_prob": "0.9849258585045181",
    "away_id": 2306,
    "away_team": "Kansas State",
    "away_conference": "Big 12",
    "away_points": 13,
    "away_line_scores": [
      0,
      3,
      0,
      10
    ],
    "away_post_win_prob": "0.015074141495481919",
    "excitement_index": "2.56718196369999"
  },
  {
    "id": 401112101,
    "season": 2019,
    "week": 6,
    "season_type": "regular",
    "start_date": "2019-10-05T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 34402,
    "venue_id": 3833,
    "venue": "Memorial Stadium",
    "home_id": 2305,
    "home_team": "Kansas",
    "home_conference": "Big 12",
    "home_points": 20,
    "home_line_scores": [
      7,
      0,
      0,
      13
    ],
    "home_post_win_prob": "0.005760710284071661",
    "away_id": 201,
    "away_team": "Oklahoma",
    "away_conference": "Big 12",
    "away_points": 45,
    "away_line_scores": [
      7,
      14,
      14,
      10
    ],
    "away_post_win_prob": "0.9942392897159283",
    "excitement_index": "0.879532798899999"
  },
  {
    "id": 401112126,
    "season": 2019,
    "week": 6,
    "season_type": "regular",
    "start_date": "2019-10-05T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 56479,
    "venue_id": 3784,
    "venue": "Jones AT&T Stadium",
    "home_id": 2641,
    "home_team": "Texas Tech",
    "home_conference": "Big 12",
    "home_points": 45,
    "home_line_scores": [
      13,
      7,
      14,
      11
    ],
    "home_post_win_prob": "0.9281636207054427",
    "away_id": 197,
    "away_team": "Oklahoma State",
    "away_conference": "Big 12",
    "away_points": 35,
    "away_line_scores": [
      0,
      7,
      14,
      14
    ],
    "away_post_win_prob": "0.07183637929455733",
    "excitement_index": "4.7944356889"
  },
  {
    "id": 401112088,
    "season": 2019,
    "week": 6,
    "season_type": "regular",
    "start_date": "2019-10-05T18:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 59553,
    "venue_id": 3772,
    "venue": "Jack Trice Stadium",
    "home_id": 66,
    "home_team": "Iowa State",
    "home_conference": "Big 12",
    "home_points": 49,
    "home_line_scores": [
      7,
      14,
      14,
      14
    ],
    "home_post_win_prob": "0.9969424654490326",
    "away_id": 2628,
    "away_team": "TCU",
    "away_conference": "Big 12",
    "away_points": 24,
    "away_line_scores": [
      0,
      3,
      7,
      14
    ],
    "away_post_win_prob": "0.0030575345509673557",
    "excitement_index": "2.3040335288"
  },
  {
    "id": 401112137,
    "season": 2019,
    "week": 6,
    "season_type": "regular",
    "start_date": "2019-10-05T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 62069,
    "venue_id": 3842,
    "venue": "Mountaineer Field at Milan Puskar Stadium",
    "home_id": 277,
    "home_team": "West Virginia",
    "home_conference": "Big 12",
    "home_points": 31,
    "home_line_scores": [
      7,
      7,
      3,
      14
    ],
    "home_post_win_prob": "0.052579446008286866",
    "away_id": 251,
    "away_team": "Texas",
    "away_conference": "Big 12",
    "away_points": 42,
    "away_line_scores": [
      7,
      14,
      0,
      21
    ],
    "away_post_win_prob": "0.9474205539917131",
    "excitement_index": "4.3912835897"
  },
  {
    "id": 401112077,
    "season": 2019,
    "week": 6,
    "season_type": "regular",
    "start_date": "2019-10-05T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 50448,
    "venue_id": 3636,
    "venue": "Bill Snyder Family Football Stadium",
    "home_id": 2306,
    "home_team": "Kansas State",
    "home_conference": "Big 12",
    "home_points": 12,
    "home_line_scores": [
      3,
      0,
      3,
      6
    ],
    "home_post_win_prob": "0.038690175637307596",
    "away_id": 239,
    "away_team": "Baylor",
    "away_conference": "Big 12",
    "away_points": 31,
    "away_line_scores": [
      0,
      10,
      7,
      14
    ],
    "away_post_win_prob": "0.9613098243626924",
    "excitement_index": "4.1752170624"
  },
  {
    "id": 401112118,
    "season": 2019,
    "week": 7,
    "season_type": "regular",
    "start_date": "2019-10-12T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": true,
    "conference_game": true,
    "attendance": 92100,
    "venue_id": 499,
    "venue": "Cotton Bowl",
    "home_id": 251,
    "home_team": "Texas",
    "home_conference": "Big 12",
    "home_points": 27,
    "home_line_scores": [
      0,
      3,
      14,
      10
    ],
    "home_post_win_prob": "0.09846574775909309",
    "away_id": 201,
    "away_team": "Oklahoma",
    "away_conference": "Big 12",
    "away_points": 34,
    "away_line_scores": [
      7,
      3,
      10,
      14
    ],
    "away_post_win_prob": "0.9015342522409069",
    "excitement_index": "4.25673557409999"
  },
  {
    "id": 401112078,
    "season": 2019,
    "week": 7,
    "season_type": "regular",
    "start_date": "2019-10-12T20:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 47264,
    "venue_id": 4727,
    "venue": "McLane Stadium",
    "home_id": 239,
    "home_team": "Baylor",
    "home_conference": "Big 12",
    "home_points": 33,
    "home_line_scores": [
      0,
      3,
      14,
      3,
      7,
      6
    ],
    "home_post_win_prob": "0.5472991145576119",
    "away_id": 2641,
    "away_team": "Texas Tech",
    "away_conference": "Big 12",
    "away_points": 30,
    "away_line_scores": [
      3,
      3,
      7,
      7,
      7,
      3
    ],
    "away_post_win_prob": "0.45270088544238807",
    "excitement_index": "8.9465089293"
  },
  {
    "id": 401112089,
    "season": 2019,
    "week": 7,
    "season_type": "regular",
    "start_date": "2019-10-12T20:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 51836,
    "venue_id": 3842,
    "venue": "Mountaineer Field at Milan Puskar Stadium",
    "home_id": 277,
    "home_team": "West Virginia",
    "home_conference": "Big 12",
    "home_points": 14,
    "home_line_scores": [
      7,
      7,
      0,
      0
    ],
    "home_post_win_prob": "0.0049898159625642955",
    "away_id": 66,
    "away_team": "Iowa State",
    "away_conference": "Big 12",
    "away_points": 38,
    "away_line_scores": [
      0,
      14,
      7,
      17
    ],
    "away_post_win_prob": "0.9950101840374357",
    "excitement_index": "4.3833424692"
  },
  {
    "id": 401112119,
    "season": 2019,
    "week": 8,
    "season_type": "regular",
    "start_date": "2019-10-19T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 82620,
    "venue_id": 3835,
    "venue": "Gaylord Family Oklahoma Memorial Stadium",
    "home_id": 201,
    "home_team": "Oklahoma",
    "home_conference": "Big 12",
    "home_points": 52,
    "home_line_scores": [
      14,
      14,
      21,
      3
    ],
    "home_post_win_prob": "0.9993549088188611",
    "away_id": 277,
    "away_team": "West Virginia",
    "away_conference": "Big 12",
    "away_points": 14,
    "away_line_scores": [
      0,
      14,
      0,
      0
    ],
    "away_post_win_prob": "0.0006450911811388682",
    "excitement_index": "0.272701590799999"
  },
  {
    "id": 401112090,
    "season": 2019,
    "week": 8,
    "season_type": "regular",
    "start_date": "2019-10-19T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 52315,
    "venue_id": 3784,
    "venue": "Jones AT&T Stadium",
    "home_id": 2641,
    "home_team": "Texas Tech",
    "home_conference": "Big 12",
    "home_points": 24,
    "home_line_scores": [
      0,
      7,
      10,
      7
    ],
    "home_post_win_prob": "0.005679110060870583",
    "away_id": 66,
    "away_team": "Iowa State",
    "away_conference": "Big 12",
    "away_points": 34,
    "away_line_scores": [
      7,
      13,
      7,
      7
    ],
    "away_post_win_prob": "0.9943208899391294",
    "excitement_index": "2.97636368289999"
  },
  {
    "id": 401112109,
    "season": 2019,
    "week": 8,
    "season_type": "regular",
    "start_date": "2019-10-19T18:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 48298,
    "venue_id": 3636,
    "venue": "Bill Snyder Family Football Stadium",
    "home_id": 2306,
    "home_team": "Kansas State",
    "home_conference": "Big 12",
    "home_points": 24,
    "home_line_scores": [
      7,
      7,
      3,
      7
    ],
    "home_post_win_prob": "0.5943281358725961",
    "away_id": 2628,
    "away_team": "TCU",
    "away_conference": "Big 12",
    "away_points": 17,
    "away_line_scores": [
      0,
      10,
      7,
      0
    ],
    "away_post_win_prob": "0.40567186412740386",
    "excitement_index": "7.9468112287"
  },
  {
    "id": 401112079,
    "season": 2019,
    "week": 8,
    "season_type": "regular",
    "start_date": "2019-10-19T20:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 55060,
    "venue_id": 3646,
    "venue": "Boone Pickens Stadium",
    "home_id": 197,
    "home_team": "Oklahoma State",
    "home_conference": "Big 12",
    "home_points": 27,
    "home_line_scores": [
      6,
      7,
      7,
      7
    ],
    "home_post_win_prob": "0.009312638949481124",
    "away_id": 239,
    "away_team": "Baylor",
    "away_conference": "Big 12",
    "away_points": 45,
    "away_line_scores": [
      7,
      3,
      14,
      21
    ],
    "away_post_win_prob": "0.9906873610505189",
    "excitement_index": "6.90691987109999"
  },
  {
    "id": 401112102,
    "season": 2019,
    "week": 8,
    "season_type": "regular",
    "start_date": "2019-10-19T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 97137,
    "venue_id": 3910,
    "venue": "Darrell K Royal-Texas Memorial Stadium",
    "home_id": 251,
    "home_team": "Texas",
    "home_conference": "Big 12",
    "home_points": 50,
    "home_line_scores": [
      14,
      7,
      3,
      26
    ],
    "home_post_win_prob": "0.2649038277393307",
    "away_id": 2305,
    "away_team": "Kansas",
    "away_conference": "Big 12",
    "away_points": 48,
    "away_line_scores": [
      3,
      14,
      7,
      24
    ],
    "away_post_win_prob": "0.7350961722606693",
    "excitement_index": "6.8473278986"
  },
  {
    "id": 401112110,
    "season": 2019,
    "week": 9,
    "season_type": "regular",
    "start_date": "2019-10-26T16:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 50394,
    "venue_id": 3636,
    "venue": "Bill Snyder Family Football Stadium",
    "home_id": 2306,
    "home_team": "Kansas State",
    "home_conference": "Big 12",
    "home_points": 48,
    "home_line_scores": [
      7,
      17,
      17,
      7
    ],
    "home_post_win_prob": "0.6003844981981735",
    "away_id": 201,
    "away_team": "Oklahoma",
    "away_conference": "Big 12",
    "away_points": 41,
    "away_line_scores": [
      17,
      6,
      0,
      18
    ],
    "away_post_win_prob": "0.3996155018018265",
    "excitement_index": "3.2397119324"
  },
  {
    "id": 401112132,
    "season": 2019,
    "week": 9,
    "season_type": "regular",
    "start_date": "2019-10-26T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 47660,
    "venue_id": 3616,
    "venue": "Amon G. Carter Stadium",
    "home_id": 2628,
    "home_team": "TCU",
    "home_conference": "Big 12",
    "home_points": 37,
    "home_line_scores": [
      3,
      10,
      14,
      10
    ],
    "home_post_win_prob": "0.7175782277857468",
    "away_id": 251,
    "away_team": "Texas",
    "away_conference": "Big 12",
    "away_points": 27,
    "away_line_scores": [
      3,
      14,
      3,
      7
    ],
    "away_post_win_prob": "0.28242177221425324",
    "excitement_index": "7.60532508079999"
  },
  {
    "id": 401112091,
    "season": 2019,
    "week": 9,
    "season_type": "regular",
    "start_date": "2019-10-26T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 61500,
    "venue_id": 3772,
    "venue": "Jack Trice Stadium",
    "home_id": 66,
    "home_team": "Iowa State",
    "home_conference": "Big 12",
    "home_points": 27,
    "home_line_scores": [
      0,
      13,
      7,
      7
    ],
    "home_post_win_prob": "0.926300589477146",
    "away_id": 197,
    "away_team": "Oklahoma State",
    "away_conference": "Big 12",
    "away_points": 34,
    "away_line_scores": [
      7,
      14,
      3,
      10
    ],
    "away_post_win_prob": "0.073699410522854",
    "excitement_index": "7.74404331979999"
  },
  {
    "id": 401112103,
    "season": 2019,
    "week": 9,
    "season_type": "regular",
    "start_date": "2019-10-26T23:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 31036,
    "venue_id": 3833,
    "venue": "Memorial Stadium",
    "home_id": 2305,
    "home_team": "Kansas",
    "home_conference": "Big 12",
    "home_points": 37,
    "home_line_scores": [
      0,
      14,
      6,
      17
    ],
    "home_post_win_prob": "0.20039471148650784",
    "away_id": 2641,
    "away_team": "Texas Tech",
    "away_conference": "Big 12",
    "away_points": 34,
    "away_line_scores": [
      7,
      10,
      10,
      7
    ],
    "away_post_win_prob": "0.7996052885134921",
    "excitement_index": "6.5011548771"
  },
  {
    "id": 401112080,
    "season": 2019,
    "week": 10,
    "season_type": "regular",
    "start_date": "2019-11-01T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 46379,
    "venue_id": 4727,
    "venue": "McLane Stadium",
    "home_id": 239,
    "home_team": "Baylor",
    "home_conference": "Big 12",
    "home_points": 17,
    "home_line_scores": [
      7,
      0,
      7,
      3
    ],
    "home_post_win_prob": "0.9938669224449254",
    "away_id": 277,
    "away_team": "West Virginia",
    "away_conference": "Big 12",
    "away_points": 14,
    "away_line_scores": [
      0,
      0,
      14,
      0
    ],
    "away_post_win_prob": "0.00613307755507464",
    "excitement_index": "6.2751156467"
  },
  {
    "id": 401112104,
    "season": 2019,
    "week": 10,
    "season_type": "regular",
    "start_date": "2019-11-02T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 47233,
    "venue_id": 3833,
    "venue": "Memorial Stadium",
    "home_id": 2305,
    "home_team": "Kansas",
    "home_conference": "Big 12",
    "home_points": 10,
    "home_line_scores": [
      3,
      0,
      0,
      7
    ],
    "home_post_win_prob": "0.003992253480282275",
    "away_id": 2306,
    "away_team": "Kansas State",
    "away_conference": "Big 12",
    "away_points": 38,
    "away_line_scores": [
      7,
      10,
      7,
      14
    ],
    "away_post_win_prob": "0.9960077465197177",
    "excitement_index": "2.2897659401"
  },
  {
    "id": 401112127,
    "season": 2019,
    "week": 10,
    "season_type": "regular",
    "start_date": "2019-11-02T19:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 52861,
    "venue_id": 3646,
    "venue": "Boone Pickens Stadium",
    "home_id": 197,
    "home_team": "Oklahoma State",
    "home_conference": "Big 12",
    "home_points": 34,
    "home_line_scores": [
      10,
      7,
      7,
      10
    ],
    "home_post_win_prob": "0.26996232177930274",
    "away_id": 2628,
    "away_team": "TCU",
    "away_conference": "Big 12",
    "away_points": 27,
    "away_line_scores": [
      3,
      14,
      0,
      10
    ],
    "away_post_win_prob": "0.7300376782206972",
    "excitement_index": "5.469944469"
  },
  {
    "id": 401112081,
    "season": 2019,
    "week": 11,
    "season_type": "regular",
    "start_date": "2019-11-09T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 45870,
    "venue_id": 3616,
    "venue": "Amon G. Carter Stadium",
    "home_id": 2628,
    "home_team": "TCU",
    "home_conference": "Big 12",
    "home_points": 23,
    "home_line_scores": [
      3,
      6,
      0,
      0,
      7,
      7,
      0
    ],
    "home_post_win_prob": "0.3009546189642669",
    "away_id": 239,
    "away_team": "Baylor",
    "away_conference": "Big 12",
    "away_points": 29,
    "away_line_scores": [
      0,
      0,
      3,
      6,
      7,
      7,
      6
    ],
    "away_post_win_prob": "0.6990453810357331",
    "excitement_index": "9.2060500089"
  },
  {
    "id": 401112142,
    "season": 2019,
    "week": 11,
    "season_type": "regular",
    "start_date": "2019-11-09T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 56573,
    "venue_id": 3842,
    "venue": "Mountaineer Field at Milan Puskar Stadium",
    "home_id": 277,
    "home_team": "West Virginia",
    "home_conference": "Big 12",
    "home_points": 17,
    "home_line_scores": [
      3,
      7,
      0,
      7
    ],
    "home_post_win_prob": "0.09823979562534052",
    "away_id": 2641,
    "away_team": "Texas Tech",
    "away_conference": "Big 12",
    "away_points": 38,
    "away_line_scores": [
      21,
      14,
      0,
      3
    ],
    "away_post_win_prob": "0.9017602043746595",
    "excitement_index": "1.6481161199"
  },
  {
    "id": 401112111,
    "season": 2019,
    "week": 11,
    "season_type": "regular",
    "start_date": "2019-11-09T20:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 97833,
    "venue_id": 3910,
    "venue": "Darrell K Royal-Texas Memorial Stadium",
    "home_id": 251,
    "home_team": "Texas",
    "home_conference": "Big 12",
    "home_points": 27,
    "home_line_scores": [
      0,
      7,
      10,
      10
    ],
    "home_post_win_prob": "0.9976462785384298",
    "away_id": 2306,
    "away_team": "Kansas State",
    "away_conference": "Big 12",
    "away_points": 24,
    "away_line_scores": [
      14,
      0,
      0,
      10
    ],
    "away_post_win_prob": "0.002353721461570202",
    "excitement_index": "7.50319653759999"
  },
  {
    "id": 401112092,
    "season": 2019,
    "week": 11,
    "season_type": "regular",
    "start_date": "2019-11-10T01:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 83541,
    "venue_id": 3835,
    "venue": "Gaylord Family Oklahoma Memorial Stadium",
    "home_id": 201,
    "home_team": "Oklahoma",
    "home_conference": "Big 12",
    "home_points": 42,
    "home_line_scores": [
      14,
      21,
      7,
      0
    ],
    "home_post_win_prob": "0.4301844915698425",
    "away_id": 66,
    "away_team": "Iowa State",
    "away_conference": "Big 12",
    "away_points": 41,
    "away_line_scores": [
      7,
      7,
      7,
      20
    ],
    "away_post_win_prob": "0.5698155084301575",
    "excitement_index": "1.7516528599"
  },
  {
    "id": 401112105,
    "season": 2019,
    "week": 12,
    "season_type": "regular",
    "start_date": "2019-11-16T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 55388,
    "venue_id": 3646,
    "venue": "Boone Pickens Stadium",
    "home_id": 197,
    "home_team": "Oklahoma State",
    "home_conference": "Big 12",
    "home_points": 31,
    "home_line_scores": [
      14,
      10,
      7,
      0
    ],
    "home_post_win_prob": "0.9973566629579855",
    "away_id": 2305,
    "away_team": "Kansas",
    "away_conference": "Big 12",
    "away_points": 13,
    "away_line_scores": [
      0,
      0,
      0,
      13
    ],
    "away_post_win_prob": "0.002643337042014471",
    "excitement_index": "0.775232076899999"
  },
  {
    "id": 401112133,
    "season": 2019,
    "week": 12,
    "season_type": "regular",
    "start_date": "2019-11-16T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 50459,
    "venue_id": 3784,
    "venue": "Jones AT&T Stadium",
    "home_id": 2641,
    "home_team": "Texas Tech",
    "home_conference": "Big 12",
    "home_points": 31,
    "home_line_scores": [
      0,
      16,
      12,
      3
    ],
    "home_post_win_prob": "0.8222973787948652",
    "away_id": 2628,
    "away_team": "TCU",
    "away_conference": "Big 12",
    "away_points": 33,
    "away_line_scores": [
      17,
      10,
      0,
      6
    ],
    "away_post_win_prob": "0.1777026212051348",
    "excitement_index": "6.80301526119999"
  },
  {
    "id": 401112093,
    "season": 2019,
    "week": 12,
    "season_type": "regular",
    "start_date": "2019-11-16T20:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 58946,
    "venue_id": 3772,
    "venue": "Jack Trice Stadium",
    "home_id": 66,
    "home_team": "Iowa State",
    "home_conference": "Big 12",
    "home_points": 23,
    "home_line_scores": [
      7,
      3,
      10,
      3
    ],
    "home_post_win_prob": "0.8663962932249615",
    "away_id": 251,
    "away_team": "Texas",
    "away_conference": "Big 12",
    "away_points": 21,
    "away_line_scores": [
      0,
      7,
      0,
      14
    ],
    "away_post_win_prob": "0.13360370677503852",
    "excitement_index": "5.9858812238"
  },
  {
    "id": 401112112,
    "season": 2019,
    "week": 12,
    "season_type": "regular",
    "start_date": "2019-11-16T20:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 46332,
    "venue_id": 3636,
    "venue": "Bill Snyder Family Football Stadium",
    "home_id": 2306,
    "home_team": "Kansas State",
    "home_conference": "Big 12",
    "home_points": 20,
    "home_line_scores": [
      10,
      3,
      7,
      0
    ],
    "home_post_win_prob": "0.30245500234487205",
    "away_id": 277,
    "away_team": "West Virginia",
    "away_conference": "Big 12",
    "away_points": 24,
    "away_line_scores": [
      14,
      0,
      0,
      10
    ],
    "away_post_win_prob": "0.697544997655128",
    "excitement_index": "7.91651789829999"
  },
  {
    "id": 401112082,
    "season": 2019,
    "week": 12,
    "season_type": "regular",
    "start_date": "2019-11-17T00:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 50223,
    "venue_id": 4727,
    "venue": "McLane Stadium",
    "home_id": 239,
    "home_team": "Baylor",
    "home_conference": "Big 12",
    "home_points": 31,
    "home_line_scores": [
      14,
      17,
      0,
      0
    ],
    "home_post_win_prob": "0.11372212552630476",
    "away_id": 201,
    "away_team": "Oklahoma",
    "away_conference": "Big 12",
    "away_points": 34,
    "away_line_scores": [
      3,
      7,
      7,
      17
    ],
    "away_post_win_prob": "0.8862778744736952",
    "excitement_index": "6.1926427032"
  },
  {
    "id": 401112094,
    "season": 2019,
    "week": 13,
    "season_type": "regular",
    "start_date": "2019-11-23T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 58120,
    "venue_id": 3772,
    "venue": "Jack Trice Stadium",
    "home_id": 66,
    "home_team": "Iowa State",
    "home_conference": "Big 12",
    "home_points": 41,
    "home_line_scores": [
      7,
      7,
      7,
      20
    ],
    "home_post_win_prob": "0.8348883685677932",
    "away_id": 2305,
    "away_team": "Kansas",
    "away_conference": "Big 12",
    "away_points": 31,
    "away_line_scores": [
      6,
      3,
      15,
      7
    ],
    "away_post_win_prob": "0.16511163143220675",
    "excitement_index": "3.4532015897"
  },
  {
    "id": 401112128,
    "season": 2019,
    "week": 13,
    "season_type": "regular",
    "start_date": "2019-11-23T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 46022,
    "venue_id": 3842,
    "venue": "Mountaineer Field at Milan Puskar Stadium",
    "home_id": 277,
    "home_team": "West Virginia",
    "home_conference": "Big 12",
    "home_points": 13,
    "home_line_scores": [
      0,
      10,
      3,
      0
    ],
    "home_post_win_prob": "0.404214693997835",
    "away_id": 197,
    "away_team": "Oklahoma State",
    "away_conference": "Big 12",
    "away_points": 20,
    "away_line_scores": [
      7,
      0,
      3,
      10
    ],
    "away_post_win_prob": "0.595785306002165",
    "excitement_index": "5.5235495123"
  },
  {
    "id": 401112083,
    "season": 2019,
    "week": 13,
    "season_type": "regular",
    "start_date": "2019-11-23T20:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 49109,
    "venue_id": 4727,
    "venue": "McLane Stadium",
    "home_id": 239,
    "home_team": "Baylor",
    "home_conference": "Big 12",
    "home_points": 24,
    "home_line_scores": [
      0,
      7,
      14,
      3
    ],
    "home_post_win_prob": "0.9667487648346725",
    "away_id": 251,
    "away_team": "Texas",
    "away_conference": "Big 12",
    "away_points": 10,
    "away_line_scores": [
      0,
      3,
      0,
      7
    ],
    "away_post_win_prob": "0.033251235165327464",
    "excitement_index": "3.7977361043"
  },
  {
    "id": 401112113,
    "season": 2019,
    "week": 13,
    "season_type": "regular",
    "start_date": "2019-11-24T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 50117,
    "venue_id": 3784,
    "venue": "Jones AT&T Stadium",
    "home_id": 2641,
    "home_team": "Texas Tech",
    "home_conference": "Big 12",
    "home_points": 27,
    "home_line_scores": [
      0,
      3,
      14,
      10
    ],
    "home_post_win_prob": "0.5558217644727941",
    "away_id": 2306,
    "away_team": "Kansas State",
    "away_conference": "Big 12",
    "away_points": 30,
    "away_line_scores": [
      3,
      3,
      17,
      7
    ],
    "away_post_win_prob": "0.4441782355272059",
    "excitement_index": "7.22144631289999"
  },
  {
    "id": 401112120,
    "season": 2019,
    "week": 13,
    "season_type": "regular",
    "start_date": "2019-11-24T01:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 82241,
    "venue_id": 3835,
    "venue": "Gaylord Family Oklahoma Memorial Stadium",
    "home_id": 201,
    "home_team": "Oklahoma",
    "home_conference": "Big 12",
    "home_points": 28,
    "home_line_scores": [
      14,
      7,
      7,
      0
    ],
    "home_post_win_prob": "0.939332645075275",
    "away_id": 2628,
    "away_team": "TCU",
    "away_conference": "Big 12",
    "away_points": 24,
    "away_line_scores": [
      0,
      10,
      7,
      7
    ],
    "away_post_win_prob": "0.06066735492472497",
    "excitement_index": "2.5883475991"
  },
  {
    "id": 401112138,
    "season": 2019,
    "week": 14,
    "season_type": "regular",
    "start_date": "2019-11-29T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 93747,
    "venue_id": 3910,
    "venue": "Darrell K Royal-Texas Memorial Stadium",
    "home_id": 251,
    "home_team": "Texas",
    "home_conference": "Big 12",
    "home_points": 49,
    "home_line_scores": [
      6,
      22,
      14,
      7
    ],
    "home_post_win_prob": "0.9981096094326831",
    "away_id": 2641,
    "away_team": "Texas Tech",
    "away_conference": "Big 12",
    "away_points": 24,
    "away_line_scores": [
      14,
      7,
      3,
      0
    ],
    "away_post_win_prob": "0.0018903905673168797",
    "excitement_index": "4.7509587964"
  },
  {
    "id": 401112134,
    "season": 2019,
    "week": 14,
    "season_type": "regular",
    "start_date": "2019-11-29T21:15:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 40126,
    "venue_id": 3616,
    "venue": "Amon G. Carter Stadium",
    "home_id": 2628,
    "home_team": "TCU",
    "home_conference": "Big 12",
    "home_points": 17,
    "home_line_scores": [
      7,
      3,
      7,
      0
    ],
    "home_post_win_prob": "0.6497895627117438",
    "away_id": 277,
    "away_team": "West Virginia",
    "away_conference": "Big 12",
    "away_points": 20,
    "away_line_scores": [
      7,
      3,
      3,
      7
    ],
    "away_post_win_prob": "0.3502104372882562",
    "excitement_index": "6.52880761069999"
  },
  {
    "id": 401112084,
    "season": 2019,
    "week": 14,
    "season_type": "regular",
    "start_date": "2019-11-30T20:30:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 22531,
    "venue_id": 3833,
    "venue": "Memorial Stadium",
    "home_id": 2305,
    "home_team": "Kansas",
    "home_conference": "Big 12",
    "home_points": 6,
    "home_line_scores": [
      0,
      0,
      6,
      0
    ],
    "home_post_win_prob": "0.0006018355697755646",
    "away_id": 239,
    "away_team": "Baylor",
    "away_conference": "Big 12",
    "away_points": 61,
    "away_line_scores": [
      21,
      13,
      14,
      13
    ],
    "away_post_win_prob": "0.9993981644302244",
    "excitement_index": "0.8527078003"
  },
  {
    "id": 401112095,
    "season": 2019,
    "week": 14,
    "season_type": "regular",
    "start_date": "2019-12-01T00:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 48990,
    "venue_id": 3636,
    "venue": "Bill Snyder Family Football Stadium",
    "home_id": 2306,
    "home_team": "Kansas State",
    "home_conference": "Big 12",
    "home_points": 27,
    "home_line_scores": [
      7,
      7,
      3,
      10
    ],
    "home_post_win_prob": "0.9749638225365809",
    "away_id": 66,
    "away_team": "Iowa State",
    "away_conference": "Big 12",
    "away_points": 17,
    "away_line_scores": [
      0,
      14,
      3,
      0
    ],
    "away_post_win_prob": "0.02503617746341913",
    "excitement_index": "5.5952644649"
  },
  {
    "id": 401112121,
    "season": 2019,
    "week": 14,
    "season_type": "regular",
    "start_date": "2019-12-01T01:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": false,
    "conference_game": true,
    "attendance": 54575,
    "venue_id": 3646,
    "venue": "Boone Pickens Stadium",
    "home_id": 197,
    "home_team": "Oklahoma State",
    "home_conference": "Big 12",
    "home_points": 16,
    "home_line_scores": [
      7,
      6,
      3,
      0
    ],
    "home_post_win_prob": "0.015963101869982697",
    "away_id": 201,
    "away_team": "Oklahoma",
    "away_conference": "Big 12",
    "away_points": 34,
    "away_line_scores": [
      10,
      10,
      7,
      7
    ],
    "away_post_win_prob": "0.9840368981300173",
    "excitement_index": "2.6773660937"
  },
  {
    "id": 401132974,
    "season": 2019,
    "week": 15,
    "season_type": "regular",
    "start_date": "2019-12-07T17:00:00.000Z",
    "start_time_tbd": null,
    "neutral_site": true,
    "conference_game": true,
    "attendance": 65191,
    "venue_id": 3687,
    "venue": "AT&T Stadium",
    "home_id": 201,
    "home_team": "Oklahoma",
    "home_conference": "Big 12",
    "home_points": 30,
    "home_line_scores": [
      10,
      0,
      10,
      3,
      7
    ],
    "home_post_win_prob": "0.9965850685353823",
    "away_id": 239,
    "away_team": "Baylor",
    "away_conference": "Big 12",
    "away_points": 23,
    "away_line_scores": [
      0,
      13,
      0,
      10,
      0
    ],
    "away_post_win_prob": "0.0034149314646176876",
    "excitement_index": "6.0843156736"
  }
]
games_list = JSON.parse(games)
games_list.each do |game|
  #home_t = Team.find_or_create_by(name: game['home_team'] )
  #away_t = Team.find_or_create_by(name: game['away_team'] )

  venue = Venue.find_or_create_by(name: game['venue_name'])
  venue_id = venue['id']
  Game.create(
    home_id = game['home_id'],
    home_team = game['home_team'],
    home_points = game['home_points']
    away_id = game['away_id'],
    away_team = game['away_team'],
    away_points = game['away_points']
    venue_id = venue_id,
    venue_name = game['venue_name']
  )
  
end




