Code Monkey home page Code Monkey logo

openneisapi4j's Introduction

OpenNeisAPI4J

나이스 교육정보 개방 포털이 제공하는 Rest API를 Java에서 쉽게 사용할 수 있도록 만든 API.
(해당 API는 나이스 교육정보 개방 포털이 공식적으로 제공하는 Java API가 아닙니다.)

현재 사용 가능한 것:

  • 학교 찾기(초등, 중등, 고등, 특별)
  • 시간표 불러오기(초등, 중등, 고등, 특별)
  • 급식정보(초등, 중등, 고등, 특별)

추후 추가 예정인 것:

  • 나이스 교육정보 개방 포털이 제공하는 다른 데이터셋

시작하기

public class main {
    public static void main(String[] args) {
        ONA ona = new ONA.Builder("토큰").build();
        
        //학교 검색
        School school = ona.searchSchool("00초등학교")[0];
        
        //오늘 2학년 1반 첫 과목을 불러옴
        Period period = ona.getScheduleOfDay(school, 2, "1", Date.from(LocalDate.now().atStartOfDay(ZoneId.systemDefault()).toInstant()))[0];
        //과목 이름 출력
        System.out.println(period.getName());
    }
}

openneisapi4j's People

Contributors

yellowstrawberrys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.