API

The RUWT? Sports API allows developers to create applications using RUWT?'s integrated sports and television data, as well as RUWTbot's RUWT? Rating for each game. The interface is RESTful and returns data in XML format.

Until a proper Terms of Use is created, please contact us before starting development, or if you have any questions or feedback.



Endpoints

Games

Returns information about upcoming games. Parameters can be combined to customize information.

Parameters: Examples:

Providers

Returns the cable and satellite providers for a postal code.

Parameters: Examples:

Teams

Returns all teams for a specific sport.

Parameters: Examples:


Schema

Most elements in the response are self-explanatory. Here is more information on a few elements that may need explanation.

<points>

The value of the points element is the total number of current "roots" for the game. It also has three attributes that are always present:

<date> and <time>

In most cases the <date> element can be ignored, and the time of the game will be in the <time> element. However, if the time of a game is TBA, the <time> element will be empty and the value of the <date> element will be the date of the game.


<timeLeft>

The value of the timeLeft element is the amount of time left in the game such as "3rd Quarter - 4:30", or "End of 1st". If the game is over, the value will be something like "Final" or "Final/2OT". If the game has not yet started, the element will be empty.