schoolinfo
v1.0.1
Published
Korean School Info API Wrapper for Node.js
Readme
schoolinfo
Installing
Using npm:
npm install schoolinfoUsing yarn:
yarn add schoolinfoExample
import { getSchoolInfo, searchSchool } from "schoolinfo";
// Search schools with a given query
searchSchool("유성").then((res) => {
console.log(res);
res.data.forEach((school) => {
// Get school detail info
getSchoolInfo(school as string).then((info) => {
console.log(info);
});
});
});