Seasons WyID Career





Wyscout Season Career API


Wyscout Season Career API

back to index


Table of contents

Overview

Retrieves all the team's information for the given season.
Request URL: https://apirest.wyscout.com/v2/seasons/{wyId}/career
Example with parameters:
https://apirest.wyscout.com/v2/seasons/{wyId}/career?filters={"gameWeek":"7", "gameWeekInterval":{"startWeek":7,"endWeek":12}}&fetch=competition,season&details=team,round

Parameters

( * parameters are mandatory)

Name Type Default Description
wyId * integer null Unique ID for the required season
filters object null Search parameters. See Notes(1) for more info
details string null Objects to be detailed (separated by commas). See Notes(2) for available objects
fetch string null Objects to be fetched (separated by commas). See Notes(3) for available objects

Output

Property Type Condition Value Description
rounds array always Dynamic Rounds data
– roundId integer always Dynamic Unique ID for the round (see GET rounds/{wyId} for more info)
– round integer details=round Dynamic Round details (see GET rounds/{wyId} for more info)
– groups array always Dynamic Groups standings (array of objects)
— teams array always Dynamic Teams standing for the group
— teamId integer always Dynamic Team Id
— team object details=team Dynamic Team details (see GET teams/{wyId} for more info)
— competitionId integer always Dynamic Unique ID for the competition (see GET competitions/{wyId} for more info)
— seasonId integer always Dynamic Unique ID for the season (see GET seasons/{wyId} for more info)
— roundId integer always Dynamic Unique ID for the round (see GET rounds/{wyId} for more info)
— roundName string always Dynamic Round name
— groupId integer always Dynamic Group ID
— groupName string always Dynamic Group name
— rank integer always Dynamic Rank
— rankLast integer always Dynamic Last rank
— gameTotal integer always Dynamic Total matches played
— gameWon integer always Dynamic Total matches won
— gameDraw integer always Dynamic Draw matches
— gameLost integer always Dynamic Lost matches
— goalPro integer always Dynamic Goal pro
— goalAgainst integer always Dynamic Goal against
— points integer always Dynamic Total points earned
competition object fetch=competition Dynamic Competition fetch (see GET competitions/{wyId} for more info)
season object fetch=season Dynamic Season fetch (see GET seasons/{wyId} for more info)

Notes

1. Available filters

Object Description
gameWeek If present, it returns standings for that gameweek
gameWeekInterval If present, it returns standings for that gameweeks’ range Use: {"gameWeekInterval":{"startWeek":7,"endWeek":12}}

2. Available object for additional details

Object Description
team Team details (see GET teams/{wyId} for more info)
round round details (see GET rounds/{wyId} for more info)

3. Available objects for fetching

Object Description
competition Competition details (see GET competitions/{wyId} for more info)
season Season details (see GET seasons/{wyId} for more info)

back to index