tmoitie / iRacing-week-planner

A weekly planner for iRacing
https://iracing-week-planner.tmo.lol
MIT License
94 stars 46 forks source link

Migrate to new iRacing data API #98

Closed tmoitie closed 2 years ago

tmoitie commented 2 years ago

The new iRacing data API looks like it has all the information we need. No more scraping! Thanks iRacing <3

https://forums.iracing.com/discussion/15068/general-availability-of-data-api

tmoitie commented 2 years ago

Season listing: https://members-ng.iracing.com/data/season/list?season_year=2022&season_quarter=2

Example response:

{
  "season_quarter": 2,
  "seasons": [
    {
      "season_id": 3603,
      "series_id": 32,
      "season_name": "Advanced Legends Cup - 2022 Season 2",
      "series_name": "Advanced Legends Cup",
      "official": true,
      "season_year": 2022,
      "season_quarter": 2,
      "license_group": 3,
      "fixed_setup": false,
      "driver_changes": false
    },
    {
      "season_id": 3632,
      "series_id": 231,
      "season_name": "Advanced Mazda MX-5 Cup Series - 2022 Season 2",
      "series_name": "Advanced Mazda MX-5 Cup Series",
      "official": true,
      "season_year": 2022,
      "season_quarter": 2,
      "license_group": 3,
      "fixed_setup": false,
      "driver_changes": false
    }
  ],
  "season_year": 2022
}

Tracks: https://members-ng.iracing.com/data/track/assets

Example response:

{

  "12": {
    "coordinates": "44.1540543,-70.4865637",
    "detail_copy": "<p>Maine is the northeastern-most state of the United States, and the 14,000-seat Oxford Plains Speedway is the biggest public facility in the Pine Tree State. OPS opened in 1950 as a half-mile dirt track with shallow-banked turns. Carved out of 200 acres of woodland in six short weeks, the facility featured a wooden grandstand that seated 5,000 spectators and parking for 1,000 cars.</p> <p>In 1961 the track was revamped as a one-third-mile paved oval with wide-open turns. Three years later Maine businessman Bob Bahre purchased the track and began a program of improvements to the facility that included a modern large-capacity grandstand. With the widening of the backstretch during a 1992 repaving, the track assumed its current 3/8ths-mile configuration.</p> <p>During the 1960s Oxford Plains Speedway hosted NASCAR Sprint Cup Series&#8482; races, and in 1966 Bobby Allison won his first victory on NASCAR's senior circuit at OPS. Today Late Models are the featured class and the track is home to the annual TD Banknorth 250, the richest one-day Late Model race meet in America. In 2007 156 cars entered the event, with 92 of them taking part in time trials. Over the years Allison's son Davey, Jeff and Ward Burton, Kurt and Kyle Busch, Jeff Gordon, Dale Jarrett, Matt Kenseth, Bobby and Terry Labonte, Mark Martin, and Rusty Wallace are among the NASCAR stars who have competed in this historic Late-Model event.</p>",
    "detail_techspecs_copy": null,
    "detail_video": null,
    "folder": "/img/tracks/oxfordplainsspeedway",
    "gallery_images": "1,2,3",
    "gallery_prefix": "oxfordplainsspeedway-gallery",
    "large_image": "oxfordplainsspeedway-large.jpg",
    "logo": "/img/logos/tracks/oxfordplainsspeedway-logo.png",
    "north": "90deg",
    "num_svg_images": 9,
    "small_image": "oxfordplainsspeedway-small.jpg",
    "track_id": 12,
    "track_map": "https://dqfp1ltauszrc.cloudfront.net/public/track-maps/tracks_oxford/12-oxford-oval/",
    "track_map_layers": {
      "background": "background.svg",
      "inactive": "inactive.svg",
      "active": "active.svg",
      "pitroad": "pitroad.svg",
      "start-finish": "start-finish.svg",
      "turns": "turns.svg"
    }
  }
}

Season Series listing: https://members-ng.iracing.com/data/series/seasons?include_series=1 - this looks most useful!

Example response:

[
  {
    "active": true,
    "allowed_season_members": null,
    "car_class_ids": [
      3189
    ],
    "car_types": [
      {
        "car_type": "aienabled"
      },
      {
        "car_type": "road"
      },
      {
        "car_type": "sportscar"
      },
      {
        "car_type": "tcr"
      }
    ],
    "caution_laps_do_not_count": false,
    "complete": false,
    "cross_license": false,
    "driver_change_rule": 0,
    "driver_changes": false,
    "drops": 4,
    "fixed_setup": false,
    "green_white_checkered_limit": 0,
    "grid_by_class": false,
    "ignore_license_for_practice": true,
    "incident_limit": 17,
    "incident_warn_mode": 0,
    "incident_warn_param1": 0,
    "incident_warn_param2": 0,
    "is_heat_racing": false,
    "license_group": 3,
    "license_group_types": [
      {
        "license_group_type": 3
      }
    ],
    "lucky_dog": false,
    "max_team_drivers": 1,
    "max_weeks": 12,
    "min_team_drivers": 1,
    "multiclass": false,
    "must_use_diff_tire_types_in_race": false,
    "next_race_session": null,
    "num_opt_laps": 0,
    "official": true,
    "op_duration": 120,
    "open_practice_session_type_id": 170,
    "qualifier_must_start_race": false,
    "race_week": 7,
    "race_week_to_make_divisions": 0,
    "reg_user_count": 20,
    "region_competition": true,
    "restrict_by_member": false,
    "restrict_to_car": false,
    "restrict_viewing": false,
    "schedule_description": "Races every odd hour at :45",
    "schedules": [
      {
        "season_id": 3841,
        "race_week_num": 0,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-06-14",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 218,
          "track_name": "Circuit Gilles Villeneuve",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-06-18T14:50:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-06-18T18:50:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 40,
            "start_date": "2022-06-14",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 1,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-06-21",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 434,
          "track_name": "Watkins Glen International",
          "config_name": "Boot",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 9,
          "simulated_start_time": "2022-06-25T12:00:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-06-25T16:00:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 40,
            "start_date": "2022-06-21",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 2,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-06-28",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 443,
          "track_name": "Sandown International Motor Raceway",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-07-02T13:10:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-07-02T03:10:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 39,
            "start_date": "2022-06-28",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 3,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-07-05",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 144,
          "track_name": "Canadian Tire Motorsports Park",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-07-09T15:15:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-07-09T19:15:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 39,
            "start_date": "2022-07-05",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 4,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-07-12",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 266,
          "track_name": "Autodromo Internazionale Enzo e Dino Ferrari",
          "config_name": "Grand Prix",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-07-16T15:05:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-07-16T13:05:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 40,
            "start_date": "2022-07-12",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 5,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-07-19",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 352,
          "track_name": "Lime Rock Park",
          "config_name": "Classic",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-07-23T15:20:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-07-23T19:20:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 38,
            "start_date": "2022-07-19",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 6,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-07-26",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 439,
          "track_name": "Winton Motor Raceway",
          "config_name": "National Circuit",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 9,
          "simulated_start_time": "2022-07-30T12:00:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-07-30T02:00:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 39,
            "start_date": "2022-07-26",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 7,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-08-02",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 18,
          "track_name": "Road America",
          "config_name": "Full Course",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 2,
          "simulated_start_time": "2022-08-06T18:35:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-08-06T23:35:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 41,
            "start_date": "2022-08-02",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 8,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-08-09",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 145,
          "track_name": "Brands Hatch Circuit",
          "config_name": "Grand Prix",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-08-13T13:30:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-08-13T12:30:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 40,
            "start_date": "2022-08-09",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 9,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-08-16",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 127,
          "track_name": "Road Atlanta",
          "config_name": "Full Course",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-08-20T15:20:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-08-20T19:20:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 39,
            "start_date": "2022-08-16",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 10,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-08-23",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 444,
          "track_name": "Fuji International Speedway",
          "config_name": "Grand Prix",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-08-27T13:10:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-08-27T04:10:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 40,
            "start_date": "2022-08-23",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      },
      {
        "season_id": 3841,
        "race_week_num": 11,
        "series_id": 503,
        "series_name": "Touring Car Turn Racing Challenge",
        "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
        "schedule_name": "Touring Car Challenge - every odd hour at 45 past",
        "start_date": "2022-08-30",
        "simulated_time_multiplier": 1,
        "race_lap_limit": null,
        "race_time_limit": 30,
        "start_type": "Standing",
        "restart_type": "Double-file Back",
        "qual_attached": true,
        "full_course_cautions": false,
        "special_event_type": null,
        "start_zone": false,
        "track": {
          "track_id": 2,
          "track_name": "Virginia International Raceway",
          "config_name": "Full Course",
          "category_id": 2,
          "category": "road"
        },
        "weather": {
          "version": 0,
          "type": 1,
          "temp_units": 0,
          "temp_value": 78,
          "rel_humidity": 55,
          "fog": 0,
          "wind_dir": 0,
          "wind_units": 0,
          "wind_value": 2,
          "skies": 1,
          "weather_var_initial": 0,
          "weather_var_ongoing": 0,
          "time_of_day": 0,
          "simulated_start_time": "2022-09-03T14:15:00",
          "simulated_time_offsets": [
            0,
            0
          ],
          "simulated_time_multiplier": 1,
          "simulated_start_utc_time": "2022-09-03T18:15:00Z"
        },
        "track_state": {
          "leave_marbles": false
        },
        "race_time_descriptors": [
          {
            "repeating": true,
            "super_session": false,
            "session_minutes": 40,
            "start_date": "2022-08-30",
            "day_offset": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ],
            "first_session_time": "01:45:00",
            "repeat_minutes": 120
          }
        ],
        "car_restrictions": []
      }
    ],
    "season_id": 3841,
    "season_name": "Touring Car Turn Racing Challenge - 2022 Season 3",
    "season_quarter": 3,
    "season_short_name": "2022 Season 3 ",
    "season_year": 2022,
    "send_to_open_practice": true,
    "series_id": 503,
    "start_date": "2022-06-14T00:00:00Z",
    "start_on_qual_tire": false,
    "start_zone": false,
    "track_types": [
      {
        "track_type": "road"
      }
    ],
    "unsport_conduct_rule_mode": 2
  }
]
tmoitie commented 2 years ago

Done, next deploy will be via the API