• Register

Team details

/sports/teams/:teamBrandId

Returns metadata for one or more specified teams.

Response data will be sorted alphabetically by team name.

Request Parameters

Parameter

Mandatory?

Description

teamBrandId Yes Comma-separated list of one or more teamBrandIds.
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
teamId For linking or cross reference purpose
teamBrandName Team name
university University metadata (if college team)
universityId Resource identifier for university
universityName University name
abbreviation Team abbreviation, 2-4 characters,often used in schedules or scoreboards
nickName Team nickname
properName Team proper name
sportsId Resource identifier for team's sport
preferredImage Team logo, if available; see Image Metadata for details

Sample Request

http://data.tmsapi.com/v1.1/sports/teams/31,62?api_key=1234567890

Sample Response

[
    {
        "teamBrandId": "31",
	"teamId": "31",
        "teamBrandName": "Arizona Cardinals",
        "abbreviation": "ARI",
        "nickName": "Cardinals",
        "properName": "Arizona",
        "sportsId": "111",
        "preferredImage": {
            "uri": "sportslogos/h3/AllPhotos/31/t31_l_h3_aa.png",
            "height": "270",
            "width": "360",
            "primary": "true",
            "category": "Logo"
        }
    },
    {
        "teamBrandId": "62",
	"teamId": "62",
        "teamBrandName": "Washington Redskins",
        "abbreviation": "WAS",
        "nickName": "Redskins",
        "properName": "Washington",
        "sportsId": "111",
        "preferredImage": {
            "uri": "sportslogos/h3/AllPhotos/62/t62_l_h3_aa.png",
            "height": "270",
            "width": "360",
            "primary": "true",
            "category": "Logo"
        }
    }
]