Teams by university

/sports/universities/:universityId

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. See Image Sizing for details.
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
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; see Image Metadata for details; if includeTeam=true

Sample Request

http://data.tmsapi.com/v1.1/sports/universities/73?includeTeam=true&api_key=1234567890

Sample Response

[
  {
    "teamBrandId": "559",
    "teamBrandName": "Drexel",
    "university": {
      "universityId": "73",
      "universityName": "Drexel"
    },
    "abbreviation": "DRXL",
    "nickName": "Dragons",
    "properName": "Drexel",
    "sportsId": "59",
    "preferredImage": {
      "uri": "sportslogos/h3/AllPhotos/73/u73_l_h3_aa.png",
      "height": "270",
      "width": "360",
      "primary": "true",
      "category": "Logo"
    }
  },
  ... additional teams ...
]