school-adviser
Version:
16 lines (13 loc) • 415 B
text/typescript
import { SchoolBuilder } from './school';
const getSchool = () => {
return new SchoolBuilder()
.withSchoolName('춘천고').build();
};
getSchool().then((school) => {
console.log(school);
// new MealBuilder(school[0].ATPT_OFCDC_SC_CODE, school[0].SD_SCHUL_CODE)
// .withPageSize(1)
// .withDate('20220505').build().then((meal) => {
// console.log(meal);
// });
});