Seasons WyID Fixtures





GET /v2/seasons/{wyId}/fixtures


GET /v2/seasons/{wyId}/fixtures

back to index


Table of contents

Overview

Retrieves all the matches for the given season.

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

Parameters

( * parameters are mandatory)

Name Type Default Description
wyId * integer null Unique ID for the required season
details string null Objects to be detailed (separated by commas). See Notes(1) for available objects
fetch string null Objects to be fetched (separated by commas). See Notes(2) for available objects
fromDate string null Matches played from date 'fromDate' (format: 0000-00-00)
toDate string null Matches played to date 'toDate' (format: 0000-00-00)

Output

Property Type Condition Value Description
seasonId integer always Dynamic Unique ID for the season
competitionId integer always Dynamic Unique ID for the competition
matches array always Dynamic Matches for the requested season
– matchId integer always Dynamic Unique ID for the match
– match object details=matches Dynamic Match details (see GET matches/{wyId} for more info)
– goals array always Dynamic Goals details
— period string always see Notes(3) Goal period
— minute integer always Dynamic Goal minute (in match)
— playerId integer always Dynamic Unique ID for the player who scored the goal
— player object details=players Dynamic Player details (see GET players/{wyId} for more info)
— teamId integer always Dynamic Unique ID for the team's player
— team object details=teams Dynamic Team details (see GET teams/{wyId} for more info)
— type string always see Notes(4) Goal type
season object fetch=season Dynamic Season details (see GET seasons/{wyId} for more info)
competition object fetch=competition Dynamic Competition details (see GET competitions/{wyId} for more info)

Notes

1. Available objects for additional details

Object Description
matches Match details (see GET matches/{wyId} for more info)
players Player details (see GET players/{wyId} for more info)

2. 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)

3. Goal periods

Period
FirstHalf
SecondHalf
ExtraFirstHalf
ExtraSecondHalf
Shootout

4. Goal types

Type Description
goal Generic goal
own Own goal
penalty Penalty goal

back to index