Skip to content
This repository was archived by the owner on Aug 7, 2019. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SchoolMeal

  • 새로운 neis api에서 계속 이용할 수 있습니다.

  • 나이스에서 학교 급식 정보를 받아와 제공해주는 API 입니다.


설명

SchoolMeal 생성자
1 지역 이름 (SchoolMeal.eduCode)
2 학교 유형 (SchoolMeal.schoolType)
3 학교 코드 (예시: "C100000394")
  • SchooolMeal
getMonthlyMeal getWeeklyMeal
인자 - searchDate (Date Class)
리턴값 Promise Promise
설명 한달 동안의 급식을 가져옵니다. 전달된 날짜의 한주 동안의 급식을 가져옵니다.


예제
const meal = require("schoolmeal");
let school = new meal(지역, 학교유형, 학교코드);

school.getMonthlyMeal().then(d => console.log(d));
school.getWeeklyMeal(new Date(2018, 3, 2)).then(d1 => console.log(d1));

About

나이스에서 학교 급식을 받아오는 API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages