matches : any;
response : any = []
getMatches(){
this.response = this.http.get('https://api.wh.geniussports.com/v1/basketball/competitions/19816/matcheslive?ak=eebd8ae256142ac3fd24bd2003d28782&limit=100')
this.response.subscribe(data => {
this.matches = data.response.data;
console.log(this.matches);
for (let i = 0; i < this.matches.length; i++) {
let shit = this.matches[i].matchTime;
this.tabs = shit.concat();
console.log(this.tabs);
}
}, err => {
console.log(err);
});
}