Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 446 Bytes

File metadata and controls

27 lines (24 loc) · 446 Bytes

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);
    });
  });
});