MyRacePass API

Overview

Resources

Resource: Schedules/Results

GET /v2/schedules/results/feed/Gets a list of latest results

Request Parameters

Below is a list or available request parameters.

NameTypeDescriptionDefault
EventCount INT Number of events to return (max of 10) 3
DriverCount INT Number of drivers to return per event (max of 15) 5
ClassCount INT Number of classes per event to return (0 for all) 0

Format Parameters

Parameters for formatting the response data

NameTypeDescriptionDefault
ImageSize ImgSize Size of the class image to return 500x500

Example Call

GET

https://api.myracepass.com/v2/schedules/results/feed/?key={xxx}

Notes

Results will be pulled from each classes A Feature event.

Response Information

Returns

Latest results from an A Feature

Response Body
	{
    "RequestValid": 1,
    "ItemsReturned": 2,
    "ScheduleEvents": [
        {
            "EventId": 1,
            "EventDate": "6/3/2014",
            "EventName": "Super Summer Showdown",
            "EventDescription": "",
            "Track": [
                {
                    "TrackId": 1,
                    "TrackName": "TBA",
                    "TrackCity": "TBA",
                    "TrackState": "KS",
                    "TrackCountry": "US"
                }
            ],
            "Classes": [
                {
                    "ClassId": 1,
                    "ClassName": "360 Sprints - Winged",
                    "ClassNameOverride": "360 Winged Sprints",
                    "Results": [
                        {
                            "ResultPlace": 1,
                            "ResultStart": 0,
                            "ResultTime": "",
                            "ResultCarNum": "13",
                            "ResultDNF": 0,
                            "ResultDNS": 0,
                            "ResultDQ": 0,
                            "Driver": [
                                {
                                    "DriverId": "1",
                                    "DriverFName": "Sample",
                                    "DriverLName": "Driver",
                                    "DriverSuffix": "",
                                    "DriverCity": "Madison",
                                    "DriverState": "SD",
                                    "DriverCountry": "US"
                                }
                            ]
                        }
                    ],
                    "Media": []
                }
            ]
        },
        {
            "EventId": 2,
            "EventDate": "6/2/2014",
            "EventName": "Summer Showdown",
            "EventDescription": "",
            "Track": [
                {
                    "TrackId": 1,
                    "TrackName": "TBA",
                    "TrackCity": "TBA",
                    "TrackState": "KS",
                    "TrackCountry": "US"
                }
            ],
            "Classes": [
                {
                    "ClassId": 1,
                    "ClassName": "360 Sprints - Winged",
                    "ClassNameOverride": "360 Winged Sprints",
                    "Results": [
                        {
                            "ResultPlace": 1,
                            "ResultStart": 14,
                            "ResultTime": "",
                            "ResultCarNum": "7",
                            "ResultDNF": 0,
                            "ResultDNS": 0,
                            "ResultDQ": 0,
                            "Driver": [
                                {
                                    "DriverId": "2",
                                    "DriverFName": "Sample",
                                    "DriverLName": "Driver",
                                    "DriverSuffix": "Jr",
                                    "DriverCity": "Madison",
                                    "DriverState": "SD",
                                    "DriverCountry": "US"
                                }
                            ]
                        }
                    ],
                    "Media": [
                        {
                            "MediaType": "image",
                            "MediaId": 1,
                            "MediaUrl": "http://www.myracepass.com//dimages/500x500-G3w6cLfS4B5s2x209792.jpg"
                        }
                    ]
                }
            ]
        }
    ],
    "RequestCached": 0
}

Shopping Cart Update Cart ()

Loading...