Teams WyID





GET /v2/teams/{wyId}


GET /v2/teams/{wyId}

back to index


Table of contents

Overview

Retrieves informations about a given team.

Request URL: https://apirest.wyscout.com/v2/teams/{wyId}

Parameters

( * parameters are mandatory)

Name Type Default Description
wyId * integer null Unique ID for the required team
imageDataURL boolean false If true, adds the data URL for the team image to the payload

Output

Property Type Condition Value Description
wyId integer always Dynamic Unique ID for this team
name string always Dynamic Team name
officialName string always Dynamic Team official name (i.e. Manchester United FC)
type string always see Notes(1) Team type
category string always see Notes(2) Team category
gender string always see Notes(3) Team gender
parent object object Dynamic This field is present if team has a parent team
-wyId integer always Dynamic WyId parent team
-name string always Dynamic Parent team name
children array array Dynamic This field is present if team has related team
-wyId integer always Dynamic WyId parent team
-name string always Dynamic Parent team name
parent object object Dynamic If team has a parent team
city string always Dynamic Team city
area object object see Notes(4) Team area details
imageDataURL string imageDataURL=true Dynamic Data URL for team picture

Notes

1. Available team types

Type Description
club The team competes in club competitions
national The team competes in national competitions

2. Available team categories

Category Description
default The team competes in competitions with no age limitations
youth The team competes in youth competitions

3. Available gender values

Gender
male
female

4. Details of area object

Property Type Value Description
id integer Dynamic Area number (as per ISO 3166-1 specification)
alpha2code string Dynamic Area two-letters code (as per ISO 3166-1 specification)
alpha3code string Dynamic Area three-letters code (as per ISO 3166-1 specification)
name string Dynamic Area english short name (as per ISO 3166-1 specification)

back to index