Constructor
Methods
# async getHistory(leagueType, date) → {Promise.<Information>}
주어진 날에 열린 해당 리그 경기를 가져온다
Parameters:
| Name | Type | Description | 
|---|---|---|
leagueType | 
  
  KoreaBasketballLeague | 찾고자 하는 리그  | 
date | 
  
  Date | 경기를 한 날짜  | 
경기 결과를 배열 형태로 반환하는 Promise
        
        
Promise.<Information>
    
    
Example
const sh = new SportsHistory();
let data = await sh.koreaBasketball.getHistory("kbl", new Date("2020/02/20"));
console.log(data);