-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdoc.json
More file actions
1011 lines (1011 loc) · 32.7 KB
/
doc.json
File metadata and controls
1011 lines (1011 loc) · 32.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"car": {
"assets": {
"link": "https://members-ng.iracing.com/data/car/assets",
"note": [
"image paths are relative to https://images-static.iracing.com/"
],
"expirationSeconds": 900
},
"get": {
"link": "https://members-ng.iracing.com/data/car/get",
"expirationSeconds": 900
}
},
"carclass": {
"get": {
"link": "https://members-ng.iracing.com/data/carclass/get",
"expirationSeconds": 900
}
},
"constants": {
"categories": {
"link": "https://members-ng.iracing.com/data/constants/categories",
"note": "Constant; returned directly as an array of objects",
"expirationSeconds": 900
},
"divisions": {
"link": "https://members-ng.iracing.com/data/constants/divisions",
"note": "Constant; returned directly as an array of objects",
"expirationSeconds": 900
},
"event_types": {
"link": "https://members-ng.iracing.com/data/constants/event_types",
"note": "Constant; returned directly as an array of objects",
"expirationSeconds": 900
}
},
"driver_stats_by_category": {
"oval": {
"link": "https://members-ng.iracing.com/data/driver_stats_by_category/oval",
"expirationSeconds": 900
},
"sports_car": {
"link": "https://members-ng.iracing.com/data/driver_stats_by_category/sports_car",
"expirationSeconds": 900
},
"formula_car": {
"link": "https://members-ng.iracing.com/data/driver_stats_by_category/formula_car",
"expirationSeconds": 900
},
"road": {
"link": "https://members-ng.iracing.com/data/driver_stats_by_category/road",
"expirationSeconds": 900
},
"dirt_oval": {
"link": "https://members-ng.iracing.com/data/driver_stats_by_category/dirt_oval",
"expirationSeconds": 900
},
"dirt_road": {
"link": "https://members-ng.iracing.com/data/driver_stats_by_category/dirt_road",
"expirationSeconds": 900
}
},
"hosted": {
"combined_sessions": {
"link": "https://members-ng.iracing.com/data/hosted/combined_sessions",
"note": "Sessions that can be joined as a driver or spectator, and also includes non-league pending sessions for the user.",
"parameters": {
"package_id": {
"type": "number",
"note": "If set, return only sessions using this car or track package ID."
}
},
"expirationSeconds": 60
},
"sessions": {
"link": "https://members-ng.iracing.com/data/hosted/sessions",
"note": "Sessions that can be joined as a driver. Without spectator and non-league pending sessions for the user.",
"expirationSeconds": 60
}
},
"league": {
"cust_league_sessions": {
"link": "https://members-ng.iracing.com/data/league/cust_league_sessions",
"parameters": {
"mine": {
"type": "boolean",
"note": "If true, return only sessions created by this user."
},
"package_id": {
"type": "number",
"note": "If set, return only sessions using this car or track package ID."
}
},
"expirationSeconds": 60
},
"directory": {
"link": "https://members-ng.iracing.com/data/league/directory",
"parameters": {
"search": {
"type": "string",
"note": "Will search against league name, description, owner, and league ID."
},
"tag": {
"type": "string",
"note": "One or more tags, comma-separated."
},
"restrict_to_member": {
"type": "boolean",
"note": "If true include only leagues for which customer is a member."
},
"restrict_to_recruiting": {
"type": "boolean",
"note": "If true include only leagues which are recruiting."
},
"restrict_to_friends": {
"type": "boolean",
"note": "If true include only leagues owned by a friend."
},
"restrict_to_watched": {
"type": "boolean",
"note": "If true include only leagues owned by a watched member."
},
"minimum_roster_count": {
"type": "number",
"note": "If set include leagues with at least this number of members."
},
"maximum_roster_count": {
"type": "number",
"note": "If set include leagues with no more than this number of members."
},
"lowerbound": {
"type": "number",
"note": "First row of results to return. Defaults to 1."
},
"upperbound": {
"type": "number",
"note": "Last row of results to return. Defaults to lowerbound + 39."
},
"sort": {
"type": "string",
"note": "One of relevance, leaguename, displayname, rostercount. displayname is owners's name. Defaults to relevance."
},
"order": {
"type": "string",
"note": "One of asc or desc. Defaults to asc."
}
},
"expirationSeconds": 900
},
"get": {
"link": "https://members-ng.iracing.com/data/league/get",
"parameters": {
"league_id": {
"type": "number",
"required": true
},
"include_licenses": {
"type": "boolean",
"note": "For faster responses, only request when necessary."
}
},
"expirationSeconds": 900
},
"get_points_systems": {
"link": "https://members-ng.iracing.com/data/league/get_points_systems",
"parameters": {
"league_id": {
"type": "number",
"required": true
},
"season_id": {
"type": "number",
"note": "If included and the season is using custom points (points_system_id:2) then the custom points option is included in the returned list. Otherwise the custom points option is not returned."
}
},
"expirationSeconds": 900
},
"membership": {
"link": "https://members-ng.iracing.com/data/league/membership",
"parameters": {
"cust_id": {
"type": "number",
"note": "If different from the authenticated member, the following restrictions apply: - Caller cannot be on requested customer's block list or an empty list will result; - Requested customer cannot have their online activity preference set to hidden or an empty list will result; - Only leagues for which the requested customer is an admin and the league roster is not private are returned."
},
"include_league": {
"type": "boolean"
}
},
"expirationSeconds": 900
},
"roster": {
"link": "https://members-ng.iracing.com/data/league/roster",
"parameters": {
"league_id": {
"type": "number",
"required": true
},
"include_licenses": {
"type": "boolean",
"note": "For faster responses, only request when necessary."
}
},
"expirationSeconds": 900
},
"seasons": {
"link": "https://members-ng.iracing.com/data/league/seasons",
"parameters": {
"league_id": {
"type": "number",
"required": true
},
"retired": {
"type": "boolean",
"note": "If true include seasons which are no longer active."
}
},
"expirationSeconds": 900
},
"season_standings": {
"link": "https://members-ng.iracing.com/data/league/season_standings",
"parameters": {
"league_id": {
"type": "number",
"required": true
},
"season_id": {
"type": "number",
"required": true
},
"car_class_id": {
"type": "number"
},
"car_id": {
"type": "number",
"note": "If car_class_id is included then the standings are for the car in that car class, otherwise they are for the car across car classes."
}
},
"expirationSeconds": 900
},
"season_sessions": {
"link": "https://members-ng.iracing.com/data/league/season_sessions",
"parameters": {
"league_id": {
"type": "number",
"required": true
},
"season_id": {
"type": "number",
"required": true
},
"results_only": {
"type": "boolean",
"note": "If true include only sessions for which results are available."
}
},
"expirationSeconds": 60
}
},
"lookup": {
"countries": {
"link": "https://members-ng.iracing.com/data/lookup/countries",
"expirationSeconds": 900
},
"current_season": {
"link": "https://members-ng.iracing.com/data/lookup/current_season",
"note": "Changes at midnight UTC on a Tuesday in March, June, September, and December.",
"expirationSeconds": 900
},
"drivers": {
"link": "https://members-ng.iracing.com/data/lookup/drivers",
"parameters": {
"search_term": {
"type": "string",
"required": true,
"note": "A cust_id or partial name for which to search."
},
"league_id": {
"type": "number",
"note": "Narrow the search to the roster of the given league."
}
},
"expirationSeconds": 900
},
"flairs": {
"link": "https://members-ng.iracing.com/data/lookup/flairs",
"note": "Icons are from https://github.com/lipis/flag-icons/",
"expirationSeconds": 900
},
"get": {
"link": "https://members-ng.iracing.com/data/lookup/get",
"note": "?weather=weather_wind_speed_units&weather=weather_wind_speed_max&weather=weather_wind_speed_min&licenselevels=licenselevels",
"expirationSeconds": 900
},
"licenses": {
"link": "https://members-ng.iracing.com/data/lookup/licenses",
"expirationSeconds": 900
}
},
"member": {
"awards": {
"link": "https://members-ng.iracing.com/data/member/awards",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
}
},
"expirationSeconds": 900
},
"award_instances": {
"link": "https://members-ng.iracing.com/data/member/award_instances",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
},
"award_id": {
"type": "number",
"required": true
}
},
"expirationSeconds": 900
},
"chart_data": {
"link": "https://members-ng.iracing.com/data/member/chart_data",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
},
"category_id": {
"type": "number",
"required": true,
"note": "1 - Oval; 2 - Road; 3 - Dirt oval; 4 - Dirt road"
},
"chart_type": {
"type": "number",
"required": true,
"note": "1 - iRating; 2 - TT Rating; 3 - License/SR"
}
},
"expirationSeconds": 900
},
"get": {
"link": "https://members-ng.iracing.com/data/member/get",
"parameters": {
"cust_ids": {
"type": "numbers",
"required": true,
"note": "?cust_ids=2,3,4"
},
"include_licenses": {
"type": "boolean"
}
},
"expirationSeconds": 900
},
"info": {
"link": "https://members-ng.iracing.com/data/member/info",
"note": "Always the authenticated member.",
"expirationSeconds": 900
},
"participation_credits": {
"link": "https://members-ng.iracing.com/data/member/participation_credits",
"note": "Always the authenticated member.",
"expirationSeconds": 900
},
"profile": {
"link": "https://members-ng.iracing.com/data/member/profile",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
}
},
"expirationSeconds": 900
}
},
"results": {
"get": {
"link": "https://members-ng.iracing.com/data/results/get",
"note": "Get the results of a subsession, if authorized to view them. series_logo image paths are relative to https://images-static.iracing.com/img/logos/series/",
"parameters": {
"subsession_id": {
"type": "number",
"required": true
},
"include_licenses": {
"type": "boolean"
}
},
"expirationSeconds": 900
},
"event_log": {
"link": "https://members-ng.iracing.com/data/results/event_log",
"parameters": {
"subsession_id": {
"type": "number",
"required": true
},
"simsession_number": {
"type": "number",
"required": true,
"note": "The main event is 0; the preceding event is -1, and so on."
}
},
"expirationSeconds": 900
},
"lap_chart_data": {
"link": "https://members-ng.iracing.com/data/results/lap_chart_data",
"parameters": {
"subsession_id": {
"type": "number",
"required": true
},
"simsession_number": {
"type": "number",
"required": true,
"note": "The main event is 0; the preceding event is -1, and so on."
}
},
"expirationSeconds": 900
},
"lap_data": {
"link": "https://members-ng.iracing.com/data/results/lap_data",
"parameters": {
"subsession_id": {
"type": "number",
"required": true
},
"simsession_number": {
"type": "number",
"required": true,
"note": "The main event is 0; the preceding event is -1, and so on."
},
"cust_id": {
"type": "number",
"note": "Required if the subsession was a single-driver event. Optional for team events. If omitted for a team event then the laps driven by all the team's drivers will be included."
},
"team_id": {
"type": "number",
"note": "Required if the subsession was a team event."
}
},
"expirationSeconds": 900
},
"search_hosted": {
"link": "https://members-ng.iracing.com/data/results/search_hosted",
"note": "Hosted and league sessions. Maximum time frame of 90 days. Results split into one or more files with chunks of results. For scraping results the most effective approach is to keep track of the maximum end_time found during a search then make the subsequent call using that date/time as the finish_range_begin and skip any subsessions that are duplicated. Results are ordered by subsessionid which is a proxy for start time. Requires one of: start_range_begin, finish_range_begin. Requires one of: cust_id, team_id, host_cust_id, session_name.",
"parameters": {
"start_range_begin": {
"type": "string",
"note": "Session start times. ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\"."
},
"start_range_end": {
"type": "string",
"note": "ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\". Exclusive. May be omitted if start_range_begin is less than 90 days in the past."
},
"finish_range_begin": {
"type": "string",
"note": "Session finish times. ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\"."
},
"finish_range_end": {
"type": "string",
"note": "ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\". Exclusive. May be omitted if finish_range_begin is less than 90 days in the past."
},
"cust_id": {
"type": "number",
"note": "The participant's customer ID. Ignored if team_id is supplied."
},
"team_id": {
"type": "number",
"note": "The team ID to search for. Takes priority over cust_id if both are supplied."
},
"host_cust_id": {
"type": "number",
"note": "The host's customer ID."
},
"session_name": {
"type": "string",
"note": "Part or all of the session's name."
},
"league_id": {
"type": "number",
"note": "Include only results for the league with this ID."
},
"league_season_id": {
"type": "number",
"note": "Include only results for the league season with this ID."
},
"car_id": {
"type": "number",
"note": "One of the cars used by the session."
},
"track_id": {
"type": "number",
"note": "The ID of the track used by the session."
},
"category_ids": {
"type": "numbers",
"note": "Track categories to include in the search. Defaults to all. ?category_ids=1,2,3,4"
}
},
"expirationSeconds": 900
},
"search_series": {
"link": "https://members-ng.iracing.com/data/results/search_series",
"note": "Official series. Maximum time frame of 90 days. Results split into one or more files with chunks of results. For scraping results the most effective approach is to keep track of the maximum end_time found during a search then make the subsequent call using that date/time as the finish_range_begin and skip any subsessions that are duplicated. Results are ordered by subsessionid which is a proxy for start time but groups together multiple splits of a series when multiple series launch sessions at the same time. Requires at least one of: season_year and season_quarter, start_range_begin, finish_range_begin.",
"parameters": {
"season_year": {
"type": "number",
"note": "Required when using season_quarter."
},
"season_quarter": {
"type": "number",
"note": "Required when using season_year."
},
"start_range_begin": {
"type": "string",
"note": "Session start times. ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\"."
},
"start_range_end": {
"type": "string",
"note": "ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\". Exclusive. May be omitted if start_range_begin is less than 90 days in the past."
},
"finish_range_begin": {
"type": "string",
"note": "Session finish times. ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\"."
},
"finish_range_end": {
"type": "string",
"note": "ISO-8601 UTC time zero offset: \"2022-04-01T15:45Z\". Exclusive. May be omitted if finish_range_begin is less than 90 days in the past."
},
"cust_id": {
"type": "number",
"note": "Include only sessions in which this customer participated. Ignored if team_id is supplied."
},
"team_id": {
"type": "number",
"note": "Include only sessions in which this team participated. Takes priority over cust_id if both are supplied."
},
"series_id": {
"type": "number",
"note": "Include only sessions for series with this ID."
},
"race_week_num": {
"type": "number",
"note": "Include only sessions with this race week number."
},
"official_only": {
"type": "boolean",
"note": "If true, include only sessions earning championship points. Defaults to all."
},
"event_types": {
"type": "numbers",
"note": "Types of events to include in the search. Defaults to all. ?event_types=2,3,4,5"
},
"category_ids": {
"type": "numbers",
"note": "License categories to include in the search. Defaults to all. ?category_ids=1,2,3,4"
}
},
"expirationSeconds": 900
},
"season_results": {
"link": "https://members-ng.iracing.com/data/results/season_results",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"event_type": {
"type": "number",
"note": "Retrict to one event type: 2 - Practice; 3 - Qualify; 4 - Time Trial; 5 - Race"
},
"race_week_num": {
"type": "number",
"note": "The first race week of a season is 0."
}
},
"expirationSeconds": 900
}
},
"season": {
"list": {
"link": "https://members-ng.iracing.com/data/season/list",
"parameters": {
"season_year": {
"type": "number",
"required": true
},
"season_quarter": {
"type": "number",
"required": true
}
},
"expirationSeconds": 900
},
"race_guide": {
"link": "https://members-ng.iracing.com/data/season/race_guide",
"parameters": {
"from": {
"type": "string",
"note": "ISO-8601 offset format. Defaults to the current time. Include sessions with start times up to 3 hours after this time. Times in the past will be rewritten to the current time."
},
"include_end_after_from": {
"type": "boolean",
"note": "Include sessions which start before 'from' but end after."
}
},
"expirationSeconds": 60
},
"spectator_subsessionids": {
"link": "https://members-ng.iracing.com/data/season/spectator_subsessionids",
"parameters": {
"event_types": {
"type": "numbers",
"note": "Types of events to include in the search. Defaults to all. ?event_types=2,3,4,5"
}
},
"expirationSeconds": 60
},
"spectator_subsessionids_detail": {
"link": "https://members-ng.iracing.com/data/season/spectator_subsessionids_detail",
"parameters": {
"event_types": {
"type": "numbers",
"note": "Types of events to include in the search. Defaults to all. ?event_types=2,3,4,5"
},
"season_ids": {
"type": "numbers",
"note": "Seasons to include in the search. Defaults to all. ?season_ids=513,937"
}
},
"expirationSeconds": 60
}
},
"series": {
"assets": {
"link": "https://members-ng.iracing.com/data/series/assets",
"note": [
"image paths are relative to https://images-static.iracing.com/"
],
"expirationSeconds": 900
},
"get": {
"link": "https://members-ng.iracing.com/data/series/get",
"expirationSeconds": 900
},
"past_seasons": {
"link": "https://members-ng.iracing.com/data/series/past_seasons",
"note": "Get all seasons for a series. Filter list by official:true for seasons with standings.",
"parameters": {
"series_id": {
"type": "number",
"required": true
}
},
"expirationSeconds": 900
},
"seasons": {
"link": "https://members-ng.iracing.com/data/series/seasons",
"parameters": {
"include_series": {
"type": "boolean"
},
"season_year": {
"type": "number",
"note": "To look up past seasons use both a season_year and season_quarter. Without both, the active seasons are returned."
},
"season_quarter": {
"type": "number",
"note": "To look up past seasons use both a season_year and season_quarter. Without both, the active seasons are returned."
}
},
"expirationSeconds": 900
},
"season_list": {
"link": "https://members-ng.iracing.com/data/series/season_list",
"parameters": {
"include_series": {
"type": "boolean"
},
"season_year": {
"type": "number"
},
"season_quarter": {
"type": "number"
}
},
"expirationSeconds": 900
},
"season_schedule": {
"link": "https://members-ng.iracing.com/data/series/season_schedule",
"parameters": {
"season_id": {
"type": "number",
"required": true
}
},
"expirationSeconds": 900
},
"stats_series": {
"link": "https://members-ng.iracing.com/data/series/stats_series",
"note": "To get series and seasons for which standings should be available, filter the list by official: true.",
"expirationSeconds": 900
}
},
"session": {
"reg_drivers_list": {
"link": "https://members-ng.iracing.com/data/session/reg_drivers_list",
"parameters": {
"subsession_id": {
"type": "number",
"required": true
}
},
"expirationSeconds": 60
}
},
"stats": {
"member_bests": {
"link": "https://members-ng.iracing.com/data/stats/member_bests",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
},
"car_id": {
"type": "number",
"note": "First call should exclude car_id; use cars_driven list in return for subsequent calls."
}
},
"expirationSeconds": 900
},
"member_career": {
"link": "https://members-ng.iracing.com/data/stats/member_career",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
}
},
"expirationSeconds": 900
},
"member_division": {
"link": "https://members-ng.iracing.com/data/stats/member_division",
"note": "Divisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Always for the authenticated member.",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"event_type": {
"type": "number",
"required": true,
"note": "The event type code for the division type: 4 - Time Trial; 5 - Race"
}
},
"expirationSeconds": 900
},
"member_recap": {
"link": "https://members-ng.iracing.com/data/stats/member_recap",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
},
"year": {
"type": "number",
"note": "Season year; if not supplied the current calendar year (UTC) is used."
},
"season": {
"type": "number",
"note": "Season (quarter) within the year; if not supplied the recap will be fore the entire year."
}
},
"expirationSeconds": 900
},
"member_recent_races": {
"link": "https://members-ng.iracing.com/data/stats/member_recent_races",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
}
},
"expirationSeconds": 900
},
"member_summary": {
"link": "https://members-ng.iracing.com/data/stats/member_summary",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
}
},
"expirationSeconds": 900
},
"member_yearly": {
"link": "https://members-ng.iracing.com/data/stats/member_yearly",
"parameters": {
"cust_id": {
"type": "number",
"note": "Defaults to the authenticated member."
}
},
"expirationSeconds": 900
},
"season_driver_standings": {
"link": "https://members-ng.iracing.com/data/stats/season_driver_standings",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"car_class_id": {
"type": "number",
"required": true
},
"division": {
"type": "number",
"note": "Divisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all."
},
"race_week_num": {
"type": "number",
"note": "The first race week of a season is 0."
}
},
"expirationSeconds": 900
},
"season_supersession_standings": {
"link": "https://members-ng.iracing.com/data/stats/season_supersession_standings",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"car_class_id": {
"type": "number",
"required": true
},
"division": {
"type": "number",
"note": "Divisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all."
},
"race_week_num": {
"type": "number",
"note": "The first race week of a season is 0."
}
},
"expirationSeconds": 900
},
"season_team_standings": {
"link": "https://members-ng.iracing.com/data/stats/season_team_standings",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"car_class_id": {
"type": "number",
"required": true
},
"race_week_num": {
"type": "number",
"note": "The first race week of a season is 0."
}
},
"expirationSeconds": 900
},
"season_tt_standings": {
"link": "https://members-ng.iracing.com/data/stats/season_tt_standings",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"car_class_id": {
"type": "number",
"required": true
},
"division": {
"type": "number",
"note": "Divisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all."
},
"race_week_num": {
"type": "number",
"note": "The first race week of a season is 0."
}
},
"expirationSeconds": 900
},
"season_tt_results": {
"link": "https://members-ng.iracing.com/data/stats/season_tt_results",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"car_class_id": {
"type": "number",
"required": true
},
"race_week_num": {
"type": "number",
"required": true,
"note": "The first race week of a season is 0."
},
"division": {
"type": "number",
"note": "Divisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all."
}
},
"expirationSeconds": 900
},
"season_qualify_results": {
"link": "https://members-ng.iracing.com/data/stats/season_qualify_results",
"parameters": {
"season_id": {
"type": "number",
"required": true
},
"car_class_id": {
"type": "number",
"required": true
},
"race_week_num": {
"type": "number",
"required": true,
"note": "The first race week of a season is 0."
},
"division": {
"type": "number",
"note": "Divisions are 0-based: 0 is Division 1, 10 is Rookie. See /data/constants/divisons for more information. Defaults to all."
}
},
"expirationSeconds": 900
},
"world_records": {
"link": "https://members-ng.iracing.com/data/stats/world_records",
"parameters": {
"car_id": {
"type": "number",
"required": true
},
"track_id": {
"type": "number",
"required": true
},
"season_year": {
"type": "number",
"note": "Limit best times to a given year."
},
"season_quarter": {
"type": "number",
"note": "Limit best times to a given quarter; only applicable when year is used."
}
},
"expirationSeconds": 900
}
},
"team": {
"get": {
"link": "https://members-ng.iracing.com/data/team/get",
"parameters": {
"team_id": {
"type": "number",
"required": true
},
"include_licenses": {
"type": "boolean",
"note": "For faster responses, only request when necessary."
}
},
"expirationSeconds": 900
},
"membership": {
"link": "https://members-ng.iracing.com/data/team/membership",
"note": "Results for the authenticated member, if any.",
"expirationSeconds": 900
}
},
"time_attack": {
"member_season_results": {
"link": "https://members-ng.iracing.com/data/time_attack/member_season_results",
"note": "Results for the authenticated member, if any.",
"parameters": {
"ta_comp_season_id": {
"type": "number",
"required": true
}
},
"expirationSeconds": 900
}
},
"track": {
"assets": {
"link": "https://members-ng.iracing.com/data/track/assets",