|
153 | 153 | "membership": {
|
154 | 154 | "link": "https://members-ng.iracing.com/data/league/membership",
|
155 | 155 | "parameters": {
|
| 156 | + "cust_id": { |
| 157 | + "type": "number", |
| 158 | + "note": "If different from the authenticated member, the following resrictions apply: - Caller cannot be on requested customer's block list or an empty list will result; - Requested customer cannot have their online activity prefrence 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." |
| 159 | + }, |
156 | 160 | "include_league": {
|
157 | 161 | "type": "boolean"
|
158 | 162 | }
|
|
259 | 263 | }
|
260 | 264 | },
|
261 | 265 | "member": {
|
| 266 | + "awards": { |
| 267 | + "link": "https://members-ng.iracing.com/data/member/awards", |
| 268 | + "parameters": { |
| 269 | + "cust_id": { |
| 270 | + "type": "number", |
| 271 | + "note": "Defaults to the authenticated member." |
| 272 | + } |
| 273 | + }, |
| 274 | + "expirationSeconds": 900 |
| 275 | + }, |
262 | 276 | "chart_data": {
|
263 | 277 | "link": "https://members-ng.iracing.com/data/member/chart_data",
|
264 | 278 | "parameters": {
|
|
298 | 312 | "note": "Always the authenticated member.",
|
299 | 313 | "expirationSeconds": 900
|
300 | 314 | },
|
| 315 | + "participation_credits": { |
| 316 | + "link": "https://members-ng.iracing.com/data/member/participation_credits", |
| 317 | + "note": "Always the authenticated member.", |
| 318 | + "expirationSeconds": 900 |
| 319 | + }, |
301 | 320 | "profile": {
|
302 | 321 | "link": "https://members-ng.iracing.com/data/member/profile",
|
303 | 322 | "parameters": {
|
|
379 | 398 | },
|
380 | 399 | "search_hosted": {
|
381 | 400 | "link": "https://members-ng.iracing.com/data/results/search_hosted",
|
382 |
| - "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, host_cust_id, session_name.", |
| 401 | + "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.", |
383 | 402 | "parameters": {
|
384 | 403 | "start_range_begin": {
|
385 | 404 | "type": "string",
|
|
399 | 418 | },
|
400 | 419 | "cust_id": {
|
401 | 420 | "type": "number",
|
402 |
| - "note": "The participant's customer ID." |
| 421 | + "note": "The participant's customer ID. Ignored if team_id is supplied." |
| 422 | + }, |
| 423 | + "team_id": { |
| 424 | + "type": "number", |
| 425 | + "note": "The team ID to search for. Takes priority over cust_id if both are supplied." |
403 | 426 | },
|
404 | 427 | "host_cust_id": {
|
405 | 428 | "type": "number",
|
|
462 | 485 | },
|
463 | 486 | "cust_id": {
|
464 | 487 | "type": "number",
|
465 |
| - "note": "Include only sessions in which this customer participated." |
| 488 | + "note": "Include only sessions in which this customer participated. Ignored if team_id is supplied." |
| 489 | + }, |
| 490 | + "team_id": { |
| 491 | + "type": "number", |
| 492 | + "note": "Include only sessions in which this team participated. Takes priority over cust_id if both are supplied." |
466 | 493 | },
|
467 | 494 | "series_id": {
|
468 | 495 | "type": "number",
|
|
534 | 561 | }
|
535 | 562 | },
|
536 | 563 | "expirationSeconds": 60
|
| 564 | + }, |
| 565 | + "spectator_subsessionids": { |
| 566 | + "link": "https://members-ng.iracing.com/data/season/spectator_subsessionids", |
| 567 | + "parameters": { |
| 568 | + "event_types": { |
| 569 | + "type": "numbers", |
| 570 | + "note": "Types of events to include in the search. Defaults to all. ?event_types=2,3,4,5" |
| 571 | + } |
| 572 | + }, |
| 573 | + "expirationSeconds": 60 |
537 | 574 | }
|
538 | 575 | },
|
539 | 576 | "series": {
|
|
548 | 585 | "link": "https://members-ng.iracing.com/data/series/get",
|
549 | 586 | "expirationSeconds": 900
|
550 | 587 | },
|
| 588 | + "past_seasons": { |
| 589 | + "link": "https://members-ng.iracing.com/data/series/past_seasons", |
| 590 | + "note": "Get all seasons for a series. Filter list by official:true for seasons with standings.", |
| 591 | + "parameters": { |
| 592 | + "series_id": { |
| 593 | + "type": "number", |
| 594 | + "required": true |
| 595 | + } |
| 596 | + }, |
| 597 | + "expirationSeconds": 900 |
| 598 | + }, |
551 | 599 | "seasons": {
|
552 | 600 | "link": "https://members-ng.iracing.com/data/series/seasons",
|
553 | 601 | "parameters": {
|
|
604 | 652 | },
|
605 | 653 | "expirationSeconds": 900
|
606 | 654 | },
|
| 655 | + "member_recap": { |
| 656 | + "link": "https://members-ng.iracing.com/data/stats/member_recap", |
| 657 | + "parameters": { |
| 658 | + "cust_id": { |
| 659 | + "type": "number", |
| 660 | + "note": "Defaults to the authenticated member." |
| 661 | + }, |
| 662 | + "year": { |
| 663 | + "type": "number", |
| 664 | + "note": "Season year; if not supplied the current calendar year (UTC) is used." |
| 665 | + }, |
| 666 | + "season": { |
| 667 | + "type": "number", |
| 668 | + "note": "Season (quarter) within the year; if not supplied the recap will be fore the entire year." |
| 669 | + } |
| 670 | + }, |
| 671 | + "expirationSeconds": 900 |
| 672 | + }, |
607 | 673 | "member_recent_races": {
|
608 | 674 | "link": "https://members-ng.iracing.com/data/stats/member_recent_races",
|
609 | 675 | "parameters": {
|
|
823 | 889 | "expirationSeconds": 900
|
824 | 890 | }
|
825 | 891 | },
|
| 892 | + "time_attack": { |
| 893 | + "member_season_results": { |
| 894 | + "link": "https://members-ng.iracing.com/data/time_attack/member_season_results", |
| 895 | + "note": "Results for the authenticated member, if any.", |
| 896 | + "parameters": { |
| 897 | + "ta_comp_season_id": { |
| 898 | + "type": "number", |
| 899 | + "required": true |
| 900 | + } |
| 901 | + }, |
| 902 | + "expirationSeconds": 900 |
| 903 | + } |
| 904 | + }, |
826 | 905 | "track": {
|
827 | 906 | "assets": {
|
828 | 907 | "link": "https://members-ng.iracing.com/data/track/assets",
|
|
0 commit comments