brasileirao
Version:
<p align="center"> <a href="https://github.com/godrix/brasileirao/actions"> <img src="https://img.shields.io/github/actions/workflow/status/godrix/brasileirao/publish.yml"/> </a> <a href="https://github.com/godrix/brasileirao"> <img src="htt
32 lines (29 loc) • 552 B
text/typescript
export interface MatchData {
match_date: string;
match_time: string;
teams: {
home_team: {
badge: string;
name: string;
abbreviation: string;
},
away_team: {
badge: string;
name: string;
abbreviation: string;
}
},
home_team_score: number | null;
away_team_score: number | null;
stadium: {
name: string;
},
}
export type RoundInformation = {
current: number;
last: number;
}
export type MatchDataResponse = {
round_information: RoundInformation,
matches: MatchData[];
};