Sports
Teams by university
sports/universities.md/
Returns a listing of all or specified universities, with optional to return associated team information. This API is used as a reference to obtain university IDs and team IDs for use in other sports APIs. Response data will be sorted alphabetically by university name.
Request Parameters
| Parameter | Mandatory? | Description |
|---|---|---|
| universityId | Yes | Specify 'all' for listing of all available universities. Specify comma-delimited list of universityIds for lookup of specific university teams |
| includeTeam | No | Boolean indicating whether to include sport team metadata. Valid values are true, false. Defaults to false. |
| imageSize | No | Requested size of image returned in preferredImage URI. Valid values are: Sm, Md, Lg, Ms. If not specified, defaults to Md. If requested image size is not available, generic image will be returned. |
| api_key | Yes | 24-character key obtained during application registration |
Response Body
| Response | Description |
|---|---|
| teamBrandId | Resource identifier for team; if includeTeam=true |
| teamID | For linking of cross reference purpose |
| teamBrandName | Team name; if includeTeam=true |
| university | University metadata |
| universityId | Resource identifier for university |
| universityName | University name |
| abbreviation | Team abbreviation; if includeTeam=true |
| sportsId | Resource identifier for team's sport; if includeTeam=true |
| preferredImage | Team logo, if available includeTeam=true |
Sample Request
http://data.tmsapi.com/v1.1sports/universities.md/73?includeTeam=true&api_key=1234567890
Sample Response
Code
Last modified on