schoolinfo
v1.0.1
Published
Korean School Info API Wrapper for Node.js
Downloads
19
Readme
schoolinfo
Installing
Using npm:
npm install schoolinfo
Using yarn:
yarn add schoolinfo
Example
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);
});
});
});