출석하지 않는 크루들의 이름을 확인할 수 있는 어플리케이션 입니다.
환경 설정하기
안에 있는 내용 진행해서 credientials.json
파일
획득credentials.json
을 src/main/resources
에 넣기src/main/resource/google-api.yml
파일 설정 (sheetId, sheetRange)spread-sheet-id: [docs.google.com/spreadsheets/d/[이부분 넣기]]
spread-sheet-range: [출석부 sheet range 넣기]
src/main/resources/data.sql
을 생성해서 모니터링 할 크루 등록INSERT INTO attendance (name, campus_name) VALUES ('포케', '잠실');
INSERT INTO attendance (name, campus_name) VALUES ('짱수', '잠실');
INSERT INTO attendance (name, campus_name) VALUES ('아루', '잠실');
INSERT INTO attendance (name, campus_name) VALUES ('크루', '선릉');
Please open the following address in your browser:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=`클라이언트id`.apps.googleusercontent.com&redirect_uri=http://localhost:8888/Callback&response_type=code&scope=https://www.googleapis.com/auth/spreadsheets.readonly